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

support multiple td-agent instances with their own sets of configs? #23

Open
slvr32 opened this issue Oct 22, 2021 · 1 comment
Open

Comments

@slvr32
Copy link

slvr32 commented Oct 22, 2021

People occasionally ask if it's possible to run multiple instances of td-agent with separate configs, and the answer tends to be something like...

td-agent -c /some/path/td-agent1.conf
td-agent -c /some/other/path/td-agent2.conf

It might be nice if this puppet module supported this type of configuration, to be able to manage multiple instances of td-agent, with unique values for config_file, service_name, and other related config for each instance.

A practical use case would be alternate logging pipelines, e.g. where there's a need/want to keep logging pipelines separate for dev/testing/production, and running multiple td-agent instances is generally possible, but not currently supported by this puppet module.

@nmaludy
Copy link
Member

nmaludy commented Nov 2, 2021

@slvr32 I don't have an issue with this. I believe the trick would be to create a new systemd service file for additional configurations. Currently we just use the builtin systemd service packaged with the RPM. If you're interested in making these changes, i would happily review and work with you on a PR.

Thanks,
Nick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants