Need help in editing rsyslog.conf

Document ID : KB000129708
Last Modified Date : 19/03/2019
Show Technical Document Details
Question:
\We need help in editing rsyslog.conf to add changes to send data loaded in text and logs file on OVA servers. For use of the rsyslog being consumed in sumo logic
Answer:
here are the contents of my
/etc/rsyslog.d/rsyslog-custom.conf
$ModLoad imfile
#
*.* @@10.242.33.26:514
# #
$InputFileName /opt/CA/wildfly-idm/standalone/log/server.log
$InputFileTag wildfly_idm
$InputFileStateFile wildfly-idm-file1
$InputFileSeverity info
$InputFileFacility local7
$InputRunFileMonitor
$InputFilePersistStateInterval 1000
# # # ### end of the forwarding rule ###

User-added image


Sumo logic config:
User-added image