-
Notifications
You must be signed in to change notification settings - Fork 149
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
Adding generic_logs template for hints autodiscovery #2981
Conversation
This pull request does not have a backport label. Could you fix it @gizas? 🙏
NOTE: |
🌐 Coverage report
|
This |
deploy/kubernetes/elastic-agent-standalone/templates.d/container_logs.yml
Outdated
Show resolved
Hide resolved
deploy/kubernetes/elastic-agent-standalone/templates.d/container_logs.yml
Outdated
Show resolved
Hide resolved
…er_logs.yml Co-authored-by: Chris Mark <chrismarkou92@gmail.com>
…er_logs.yml Co-authored-by: Chris Mark <chrismarkou92@gmail.com>
deploy/kubernetes/elastic-agent-standalone/templates.d/container_logs.yml
Outdated
Show resolved
Hide resolved
deploy/kubernetes/elastic-agent-standalone/templates.d/container_logs.yml
Outdated
Show resolved
Hide resolved
deploy/kubernetes/elastic-agent-standalone/templates.d/container_logs.yml
Outdated
Show resolved
Hide resolved
… into generic_logs_hints
* Adding generic_logs template for hints autodiscovery
NOT TO MERGE UNTIL #2986 is merged
What does this PR do?
This PR adds the generic_logs template that needs to be used in an Elastic Agent Standalone scenario in order to support by default the container log processing.
This PR is the continuation of #2386 (comment) in order to add the missing template needed to support the default behaviour of collection of logs
Why is it important?
It is important in order to allow log collection for k8s pods for the hints aytodiscovery scenario
Relevant documentation PR is added here: https://github.com/elastic/ingest-docs/pull/304/files
Checklist
./changelog/fragments
using the changelog toolHow to test this PR locally
elastic-package stack up -d -vvv --version=8.8.1
Enabling hints in the kubernetes standalone manifest:
Example to manually mount the needed generic_logs template under the inputs.d folder of Elastic Agent