How to send multiple log files in a directory to rsyslog server

Tags:

#1 tejas.pandhare

Hi,

We have one Oracle DB server and DBA needs to send all *.aud files from /u01/app/admin/admin/STG19/adump to remote syslog server. How do we configure nxlog file for the same

Tejas Pandhare

#2 jeffron Nxlog ✓
#1 tejas.pandhare
Hi, We have one Oracle DB server and DBA needs to send all *.aud files from /u01/app/admin/admin/STG19/adump to remote syslog server. How do we configure nxlog file for the same Tejas Pandhare

Hi Tejas,

The im_file supports wild cards, kindly review the configuration below.

<Input audFIles>
    Module  im_file
    File    "/u01/app/admin/admin/STG19/adump/*.aud"
</Input>

<Output tcp>
    Module  om_tcp
    Host    192.168.1.1:514
</Output>

<Route messages_to_tcp>
    Path    audFiles=> tcp
</Route>

Kindly review the link for more information on this. I hope this helps.

BR

Jeffron