-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow rerouting of Azure Metrics events to a different data stream #8520
Allow rerouting of Azure Metrics events to a different data stream #8520
Conversation
🌐 Coverage report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to do the same for aws 🙂
Thank you all for the reviews! ❤️ I also added the "How to test this PR locally" with tests using the pipeline simulator and actual documents to provide a reference mini-test suite for the next PRs. |
Package azure_metrics - 1.3.0 containing this change is available at https://epr.elastic.co/search?package=azure_metrics |
Proposed commit message
Add permissions to reroute metrics events in all data streams in Azure Metrics.
The additional permissions will allow us to route metrics events to use the Azure resource type as dataset to partition metrics.
Rerouting can be set up by defining routing rules at the integration level or allowing users to add a reroute processor to the custom ingest pipeline.
Checklist
changelog.yml
file.How to test this PR locally
_simulate
Here's a sample custom pipeline:
Note: don't forget to set
_index
to a valid value likemetrics-azure.monitor-default
, or you'll get an error from the pipeline simulator.Test with a document that DOES NOT match the reroute condition:
Test with a document that DOES match the reroute condition:
Real documents
Here's test with an actual document.
Create a new document: