Update Anagine usage log parsing for OpenSearch#60
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the ardac1prd Fluent Bit configuration to route only Anagine usage events to OpenSearch by identifying USAGE_LOG: lines and parsing the embedded JSON payload into top-level fields (including @timestamp and user), while preserving existing CloudWatch routing for all Anagine logs.
Changes:
- Adds custom Fluent Bit parsers to extract and JSON-parse
USAGE_LOG:payloads. - Updates the OpenSearch routing filter chain to select
USAGE_LOG:events and promote parsed fields to the record.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
esentuna
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ardac1prdFluent Bit OpenSearch routing to select Anagine usage events withUSAGE_LOG:.@timestampanduser.Verification
helm template fluent-bit fluent/fluent-bit --version 0.57.5 -f ardac1prd\fluentbit\values.yaml --namespace kube-system --show-only templates/configmap.yamlhelm lintagainst pulled chartfluent-bitversion0.57.5anagine-logsmapping souseriskeyword; verified@timestampanduserare aggregatable