aws-samples / aws-samples/amazon-cloudwatch-container-insights
Cannot seem to add a custom parser to the parsers conf of fluentd
- Dominant language
- Shell
- Stars
- 178
- Forks
- 117
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 3
Description
The following error appears when starting fluentd. It continues to start up fine however it does not seem to continue to configure any custom parsers that come after it.
```
[2023/06/21 15:18:14] [error] [parser:container_firstline] Invalid regex pattern (?(?<="log":")\S(?!\.).*?)(?(?<="stream":").*?)".*(?
It seems to be configured here https://github.com/aws-samples/amazon-cloudwatch-container-insights/blob/main/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit/fluent-bit.yaml#L229
Contributor guide
Research direction
Inspect fluent-bit/fluent-bit.yaml at the configuration around line 229 and compare it with the logged invalid regex pattern. Verify the parser configuration against Fluent Bit's accepted regex syntax and confirm that subsequent custom parsers are configured after the error is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- yaml
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100