Skip to content
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

Filebeat issue,Container.Name -Docker contaibner logs are not retrieved at elestice search #39640

Closed
prasanna7763 opened this issue May 21, 2024 · 2 comments
Labels
needs_team Indicates that the issue/PR needs a Team:* label

Comments

@prasanna7763
Copy link

prasanna7763 commented May 21, 2024

Please post all questions and issues on https://discuss.elastic.co/c/beats
before opening a Github Issue. Your questions will reach a wider audience there,
and if we confirm that there is a bug, then you can open a new issue.

filebeat.inputs:

  • type: log
    scan_frequency: 1s
    path:

    • '/mnt/docker-data-v2/volumes///*.log'
  • type: container
    enabled: true
    paths:

    • '/mnt/docker-data-v2/containers//.log'
    • '/mnt/docker-data-v2/volumes///*.log'

filebeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: true

setup.template.settings:
index.number_of_shards: 1

processors:

  • add_docker_metadata: ~
    match_source: true
    match_source_index: 3

output.elasticsearch:
hosts: ["XX.xx.xx.xx:9200"]
username: "elastic"
password: "***************"

From the above code all the docker container logs are not retrieved ,Front end logs are coming,Backend logs are not retrieved.
How to to get all docker logs in docker machine.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 21, 2024
@botelastic
Copy link

botelastic bot commented May 21, 2024

This issue doesn't have a Team:<team> label.

@ycombinator
Copy link
Contributor

Hi @prasanna7763, we use GitHub issues in this repository for bug reports and enhancement requests. For questions such as yours, please use https://discuss.elastic.co/c/elastic-stack/beats/28. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

No branches or pull requests

2 participants