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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...