[Kubernetes][Container Logs] Add ability to configure data_stream.dataset & "Custom configuration" - #5555
Conversation
ChrsMark
left a comment
There was a problem hiding this comment.
These additions look good to me.
@gizas @tommyers-elastic raising this with you too in case you have any additional comment or objection.
|
|
We had another internal round of discussions and I would like to remove my comment of #5555 (comment) The scenario that the user might only retrieve logs from specific application/ pods etc and would like to create a specific dataset to only include eg nginx logs is valid. But lets not expose the change to metrics, as those will still be coming from kubernetes and would create more confusion. Sorry for the mess here. So also this change #5555 (comment), to be done only for logs |
🌐 Coverage report
|
|
Thank you @BenB196 for contributing this! |
|
Package kubernetes - 1.33.0 containing this change is available at https://epr.elastic.co/search?package=kubernetes |
…taset` & "Custom configuration" (elastic#5555)
Enhancement
What does this PR do?
This PR does 2 things for the Kubernetes Container Log integration:
data_stream.dataset.Both changes are intended to bring this integration closer inline with the Custom Log integration.
Checklist
changelog.ymlfile.[ ] I have verified that Kibana version constraints are current according to guidelines.Author's Checklist
data_stream.datasetis now configurableBefore Upgrade
After Upgrade (No modifications)
Note: After the upgrade, the policy configuration no longer is setting
streams.data_stream.type: logs. I don't believe this matters as I check the Custom logs integration and it does the same thing, as well as the static tests passed. But if desired, I can have it addstreams.data_stream.type: logs.After Upgrade (With modifications)
How to test this PR locally
data_stream.datasetvalue, and observe change is reflected in agent policyRelated issues
data_stream.datasetof Kubernetes container logs #5551Screenshots