How do I forward particular logs under a directory using rsyslog?
Trying to froward following logs from /home/ddlog/ms/logs/execution_logs/_abc-xyz-ms_* to VMware vRealize Log Insight using rsyslog.For some reason that does not seem to be working.
I have tried using imfile - # load the external log $InputFileName /home/ddlog/ms/logs/execution_logs/_abc-xyz-ms_* $InputFileTag ddlog $InputFileStateFile ms $InputFileSeverity debug $InputFileFacility local7 $InputRunFileMonitor local7.* @@hostname:514 Commenting out the imfile and updating the rsyslog.conf with the "*.* @@remote-host:514" seems to work perfectly fine but I am more concerned about forwarding specific logs. |
I have tried using imfile -
# load the external log $InputFileName /home/ddlog/ms/logs/execution_logs/_abc-xyz-ms_* $InputFileTag ddlog $InputFileStateFile ms I have tried using imfile - # load the external log $InputFileName /home/ddlog/ms/logs/execution_logs/_abc-xyz-ms_* $InputFileTag ddlog $InputFileStateFile ms |
All times are GMT -5. The time now is 01:24 AM. |