Splunk Enterprise

universalforwarders in centos7

Shakeer_Spl
Explorer

Dear All,

Unable to send data from universal forwarder, to Splunk Enterprise i have minimal knowledge in Splunk  I'm trying to configure universal forwarder but unable to success could you please help me in this regards

Please find the below my configurations

i am using Splunk Enterprise 9.0 and universal forwarder version 9.1.1using Cent OS 7.0

inputs.conf

[root@Universalforwarders local]#

[monitor:///var/log/messages]

index=os

disabled=0

outputs.conf

[root@Universalforwarders local]#

[tcpout]

defaultGroup = default-autolb-group

[tcpout:default-autolb-group]

[server://192.168.122.1:9997]

 

i used following command to check port status: netstat -an | grep 9997

tcp     0     0   0.0.0.0:9997   0.0.0.0:*   LISTEN

Shakeer_Spl_0-1698777586313.png

localhost.localdomain --- my Splunk enterprise instance

127.0.0.1 --- my Splunk Universal forwarder

 

Shakeer_Spl_1-1698777806427.png

i want to know where i am doing mistake

would be appreciate your kind support

thanks in advance

 

 

 

 

 

 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Are Splunk Enterprise and the Universal Forwarder (UF) running on the same server.  If so, it's unnecessary and can lead to problems.  Remove the UF since Splunk Enterprise is fully capable of monitoring files without it.

If they are on separate servers then confirm there is no firewall blocking connections between them.

Check the logs on the UF (/opt/splunkforwarder/var/log/splunk/splunkd.log) to see if there are any messages that might explain why data is not being sent to Splunk

Finally, neither Splunk Enterprise nor Universal Forwarder should run as root because that creates a security risk.

---
If this reply helps you, Karma would be appreciated.
0 Karma

Shakeer_Spl
Explorer

thanks, for your support

After i reinstalled UF it's started work..

my issue has been fixed

 

Tags (1)
Get Updates on the Splunk Community!

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

[Coming Soon] Splunk Observability Cloud - Enhanced navigation with a modern look and ...

We are excited to introduce our enhanced UI that brings together AppDynamics and Splunk Observability. This is ...