Getting Data In

How to configure universal forwarder on Linux to send a log file to Splunk heavy forwarder?

vnguyen46
Contributor

Hi,
I installed and configured UF on a Linux server to send syslog to Splunk HF. I am now trying to send an application log also on the same server, say it's in /opt/application/applog.log, to the HF. What I need to modify on the UF .conf file(s) ?

Thanks.

0 Karma
1 Solution

manjunathmeti
Champion

If universal forwarder is already connecting to heavy forwarder then you can just add a MONITOR input to forward applog.log in inputs.conf on UF.

[monitor:///opt/application/applog.log]
disabled = false
index = <index_name>
sourcetype = <sourcetype_name>
crcSalt = 

View solution in original post

0 Karma

manjunathmeti
Champion

If universal forwarder is already connecting to heavy forwarder then you can just add a MONITOR input to forward applog.log in inputs.conf on UF.

[monitor:///opt/application/applog.log]
disabled = false
index = <index_name>
sourcetype = <sourcetype_name>
crcSalt = 
0 Karma

vnguyen46
Contributor

Thank you.

0 Karma

manjunathmeti
Champion

you are welcome 🙂

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...