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

dynamic insertion of commands #19

Open
veeragadag opened this issue Jun 1, 2017 · 6 comments
Open

dynamic insertion of commands #19

veeragadag opened this issue Jun 1, 2017 · 6 comments

Comments

@veeragadag
Copy link

Hi Christian,

I am looking dynamic insertion/deletion of commands in execbeat.yml file. That is when I add execbeat.yml in initial build it may not have exhaustive list of commands. But when needed i should be able to add/delete a new set of commands to execbeat.yml.

Is it possible as of now?

With Best wishes,
Veera

@christiangalsterer
Copy link
Owner

christiangalsterer commented Jun 2, 2017 via email

@veeragadag
Copy link
Author

Hi Christian,

Thanks for your reply.
My question is different. Rephrasing it.

I wanted to add or remove commands into execbeat.yml file at run time.
That mean, for ex: today i am running x set of logging commands, maybe some day i need execbeat to run y set of logging commands. So is there a possibility to add/remove commands to execbeat.yml.

Current workaround i am doing is: have 2 .yml files (one for each x & y set) . based on need just kill current running execbeat & restart execbeat with different .yml & so on.
But it may not work if set changes dynamically, as per the user request.

With Best Regards,
Veera

@christiangalsterer
Copy link
Owner

christiangalsterer commented Jun 2, 2017 via email

@christiangalsterer
Copy link
Owner

The automatic reloading of the configuration is still in beta. Therefore I would like to wait with the implementation until it becomes a stable feature

@veeragadag
Copy link
Author

Hi Christian,
Thanks for your inputs.
I am new to GoLang, let me see if i could add this feature to execbeat. Currently i am using the workaround of restarting the execbeat with new configuration file.
Again thanks for your inputs.
Veera

@manjurajv
Copy link

Hi @veeragadag , @christiangalsterer

Have submitted a pull request #20 to support this requirement. Do have a check and let me know your suggestions.

Thank You

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

No branches or pull requests

3 participants