Splunk Search

We have list of hots not logging lookup hosts list can any one help with search to search in splunk find out why they are not logging

Splunker6789
Explorer

We have list of hots not logging lookup hosts list can any one help with search to search in splunk find out why they are not logging

0 Karma
1 Solution

sbbadri
Motivator

Try this search on your DS,

|inputlookup dmc_forwarder_assets | search status="missing" | fields hostname os arch forwarder_type version last_connected status | rename hostname as Instance | eval now=now() | eval Duration_Not_Connected=now-last_connected | where Duration_Not_Connected<=2592000 | fields - last_connected now | sort Duration_Not_Connected | eval Duration_Not_Connected_Days = round(Duration_Not_Connected/86400,0)

View solution in original post

0 Karma

sbbadri
Motivator

Try this search on your DS,

|inputlookup dmc_forwarder_assets | search status="missing" | fields hostname os arch forwarder_type version last_connected status | rename hostname as Instance | eval now=now() | eval Duration_Not_Connected=now-last_connected | where Duration_Not_Connected<=2592000 | fields - last_connected now | sort Duration_Not_Connected | eval Duration_Not_Connected_Days = round(Duration_Not_Connected/86400,0)

0 Karma

Splunker6789
Explorer

Thanks ! sbbadri

0 Karma

woodcock
Esteemed Legend
0 Karma

Splunker6789
Explorer

Pardon me .What exactly I meant to ask is We have list of hosts not reporting in splunk .I am looking for best search to find out in UI why they are not reporting .

0 Karma

JDukeSplunk
Builder

I would start with this and see if they are even talking to the indexers at all.

index=_internal source=*splunkd.log host=(YOURHOST)

If this returns no results, there is no transmission. In that case, check the that the service is started, that the port is open. Then check the $splunkhome$/var/log/splunk/splunkd.log for clues.

If there is communication, chances are you don't have any apps in place in $splunkhome$/etc/apps.

Splunk is running, but hasn't been told what to do.

0 Karma

Splunker6789
Explorer

Thanks!jduke

0 Karma

woodcock
Esteemed Legend

Start with the links above. If you get hung up, add a comment here.

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