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

FEATURE: Allow setting Filebeat Docker filesystem and Docker binds via pillar #5236

Closed
weslambert opened this issue Aug 20, 2021 · 1 comment
Labels
2.4 Planned for 2.4.X

Comments

@weslambert
Copy link
Contributor

weslambert commented Aug 20, 2021

Similar to how we are doing this for Logstash, we should allow for custom Docker binds for Filebeat.

Ex:

In pillar:

filebeat:
  docker_options:
    filesystem_bindings:
      - /myfile1onhost:/myfile1incontainer:ro
      - /myfile2onhost:/myfile2incontainer:ro

In init.sls:

{% set DOCKER_OPTIONS = salt['pillar.get']('filebeat:docker_options', {}) %}

{% for BINDING in DOCKER_OPTIONS.filesystem_bindings %}
      - {{ BINDING }}
{% endfor %}
@weslambert weslambert changed the title FEATURE: Allow setting Filebeat Docker filesystem binds via pillar FEATURE: Allow setting Filebeat Docker filesystem and Docker binds via pillar Oct 22, 2021
@TOoSmOotH TOoSmOotH added the 2.4 Planned for 2.4.X label Dec 1, 2022
@TOoSmOotH
Copy link
Contributor

This was added in 2.4 for all containers that need these options.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.4 Planned for 2.4.X
Projects
None yet
Development

No branches or pull requests

2 participants