Getting Data In

Need to monitor only 4 hosts - data on boarding

kiranpanchavat1
Path Finder

Hello Team, 

Splunk UF has been installed in all our 1000+ windows servers and we are monitoring those logs. Now the scenario is we have one more Splunk team in my organization and they needs to monitor the one of the path in only 4 servers/hosts in that 1000+ servers . 

we need to configure the dual feeding for those 4 windows servers.

My configuration file : 

inputs.conf  : 

[monitor://xxxx:\xxxxxxx\xxxxxxxxxx\xxxxxxxxxxxx\xxxxxxxxxxx\log*]

index=xxxxxxxxxx

sourcetype= xxxxxxxxxxxx

host = xxxxxxxxxx,xxxxxxxxxxxx,xxxxxxxxxxxx,xxxxxxxxxxxxxx -----> these are the 4 windows servers/hosts which we need to send the dual feed. 

disabled = 0

Outputs.conf

[tcpout:xxxxxxxx]

server= xxxxxxxxxxx:9997,xxxxxxxxxxx:9997,xxxxxxxxxxxxx:9997,xxxxxxxxxxxxx:9997

But after adding this configurations, they are receiving the wrong logs. How to send the logs for only those 4 servers with correct data? 

Kindly help us on this. 

 

Labels (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @kiranpanchavat1,

following the indications at https://docs.splunk.com/Documentation/Splunk/8.2.4/Forwarding/Routeandfilterdatad#Perform_selective_... you can send only a parte of your logs to some specified indexers and all the others to the defould ones.

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @kiranpanchavat1,

following the indications at https://docs.splunk.com/Documentation/Splunk/8.2.4/Forwarding/Routeandfilterdatad#Perform_selective_... you can send only a parte of your logs to some specified indexers and all the others to the defould ones.

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...