Getting Data In

How to search a list of forwarders and what indexes they are sending data to?

patrickcope
New Member

How to search a list of forwarders sending data to a single index or multiple indexes?

ie: forwarder (A) sending to index (1) or index (2) or both indexes.

0 Karma
1 Solution

0YAoNnmRmKDg
Path Finder

crude but quick

index=* | table host index | uniq | sort host

note index = * so will be intensive, limit time period appropriately

also index=* OR index=_* will give you all internal indexes if thats required

this will give you ALL hosts not just forwarders so you can add host=UF* OR host=HW* assuming host names of the forwarders are that to reduce your results

View solution in original post

0YAoNnmRmKDg
Path Finder

crude but quick

index=* | table host index | uniq | sort host

note index = * so will be intensive, limit time period appropriately

also index=* OR index=_* will give you all internal indexes if thats required

this will give you ALL hosts not just forwarders so you can add host=UF* OR host=HW* assuming host names of the forwarders are that to reduce your results

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, ...