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

sidecar doesn't delete file processes #498

Open
bisontim opened this issue Jun 12, 2024 · 0 comments
Open

sidecar doesn't delete file processes #498

bisontim opened this issue Jun 12, 2024 · 0 comments
Labels

Comments

@bisontim
Copy link

Hi, I configured graylog and sidecar.

I configured filebeat to delete file after processed but files are not deleted.

This is the sidecar configuration from graylog:
fields_under_root: true
fields.collector_node_id: ${sidecar.nodeName}
fields.gl2_source_collector: ${sidecar.nodeId}

filebeat.inputs:

  • input_type: log
    paths:
    • /host/var/log/process/*.log
      delete_files: true
      type: log
      output.logstash:
      hosts: ["myhostname:5044"]
      path:
      data: /var/lib/graylog-sidecar/collectors/filebeat/data
      logs: /var/lib/graylog-sidecar/collectors/filebeat/log

I used docker for the sidecar as well

Environment

  • Sidecar Version:1.5
  • Graylog Version: 6.3
  • Operating System: Docker
  • Opensearch Version: 2.12
  • MongoDB Version: 6.0.15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants