syslog-ng configuration from CLI
Hello Team, A few years back I heard about a project that would have added functionality to syslog-ng that would have enabled configurability from the command line. This was the respective PR: https://github.com/balabit/syslog-ng/pull/1326 Since then the PR was closed and part of the functionality provided by the PR has been added to syslog-ng (in https://github.com/balabit/syslog-ng/pull/1605), but not the CLI configurability part. I personally think that being able to configure syslog-ng through its command line arguments would bear a great potential. Of course running it with a complex configuration passed in through CLI argument would be infeasible, but with simple, single-purpose logging setups it would prove to be a very powerful tool. For example when trying to empty a bunch of orphaned disk queue files, it would be very easy to spin up several syslog-ng instances from a script with only slightly differing configuration. What do you guys think? Do you agree as well that this feature would bear a lot of added value to syslog-ng? Thanks for sharing your opinions! Best Regards, János Szigetvári -- Janos SZIGETVARI RHCE, License no. 150-053-692 <https://www.redhat.com/rhtapps/verify/?certId=150-053-692> LinkedIn: linkedin.com/in/janosszigetvari __@__˚V˚ Make the switch to open (source) applications, protocols, formats now: - windows -> Linux, iexplore -> Firefox, msoffice -> LibreOffice - msn -> jabber protocol (Pidgin, Google Talk) - mp3 -> ogg, wmv -> ogg, jpg -> png, doc/xls/ppt -> odt/ods/odp
Hi János, On Sat, Aug 03, 2019 at 02:21:49PM +0200, SZIGETVÁRI János wrote:
What do you guys think? Do you agree as well that this feature would bear a lot of added value to syslog-ng? Thanks for sharing your opinions!
I totally agree with you. My personal use-cases would include your own (ad-hoc handling of disq files or out-of-persist file sources), but also one-shot file parsing, and tcpdump-like debugging.
Thanks Fabien for your feedback on this! I have opened an issue asking for this feature: https://github.com/balabit/syslog-ng/issues/2864 Best Regards, János Szigetvári Fabien Wernli <wernli@in2p3.fr> ezt írta (időpont: 2019. aug. 5., H, 9:12):
Hi János,
On Sat, Aug 03, 2019 at 02:21:49PM +0200, SZIGETVÁRI János wrote:
What do you guys think? Do you agree as well that this feature would bear a lot of added value to syslog-ng? Thanks for sharing your opinions!
I totally agree with you. My personal use-cases would include your own (ad-hoc handling of disq files or out-of-persist file sources), but also one-shot file parsing, and tcpdump-like debugging.
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Thanks Janos for opening it on Github! @Fabien can your please describe your use-cases on github too? I don't feel good to just copy your answer to the github page. I don't like to copy anyone's answer, even though it's a public mail list. 🙂 Can you also describe a bit in detail "out-of-persist file sources" feature, please?
My personal use-cases would include your own (ad-hoc handling of disq files or out-of-persist file sources), but also one-shot file parsing, and tcpdump-like debugging.
________________________________ From: syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of SZIGETVÁRI János <jszigetvari@gmail.com> Sent: Tuesday, August 6, 2019 13:10 To: wernli@in2p3.fr <wernli@in2p3.fr>; Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Subject: Re: [syslog-ng] syslog-ng configuration from CLI CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe. Thanks Fabien for your feedback on this! I have opened an issue asking for this feature: https://github.com/balabit/syslog-ng/issues/2864<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbalabit%2Fsyslog-ng%2Fissues%2F2864&data=02%7C01%7Cgabor.nagy%40oneidentity.com%7C5da78573860d475c89e608d71a5ec3ee%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637006866658910783&sdata=gWRdvUMFTUcjL0ql2cNXLOJKkuGuEuW%2BMpZYsttQhHM%3D&reserved=0> Best Regards, János Szigetvári Fabien Wernli <wernli@in2p3.fr<mailto:wernli@in2p3.fr>> ezt írta (időpont: 2019. aug. 5., H, 9:12): Hi János, On Sat, Aug 03, 2019 at 02:21:49PM +0200, SZIGETVÁRI János wrote:
What do you guys think? Do you agree as well that this feature would bear a lot of added value to syslog-ng? Thanks for sharing your opinions!
I totally agree with you. My personal use-cases would include your own (ad-hoc handling of disq files or out-of-persist file sources), but also one-shot file parsing, and tcpdump-like debugging. ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=02%7C01%7Cgabor.nagy%40oneidentity.com%7C5da78573860d475c89e608d71a5ec3ee%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637006866658920779&sdata=VhzT7kNtmNCopWaKGLQVrVPooGs2Pp%2FODzyUko9sy3I%3D&reserved=0> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=02%7C01%7Cgabor.nagy%40oneidentity.com%7C5da78573860d475c89e608d71a5ec3ee%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637006866658920779&sdata=Fyf5r%2F9XcudPX9QuNzyFKE9p0xUSpFvyHzWdTpNxCb4%3D&reserved=0> FAQ: http://www.balabit.com/wiki/syslog-ng-faq<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=02%7C01%7Cgabor.nagy%40oneidentity.com%7C5da78573860d475c89e608d71a5ec3ee%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637006866658930774&sdata=g9WieU6bIwvgnGFbZaiAKVZJqlgyFh%2B92U7AMMK5OPk%3D&reserved=0>
participants (3)
-
Fabien Wernli
-
Gabor Nagy (gnagy)
-
SZIGETVÁRI János