Getting Data In

Splunk search to check forwarder status based on last connected time

sekhar463
Path Finder

Hi Team,

i am using this search to check the status of UF"down based on last connection time.

but when i am removing the server from deployment server ,still this search output showing the server in down status, it should not visible in splunk search.

 

need suggestion on this to get exact output for down status

Labels (1)
0 Karma

cklunck
Path Finder

@sekhar463 wrote:

but when i am removing the server from deployment server ,still this search output showing the server in down status, it should not visible in splunk search.

When you say you're "removing the server from the deployment server", what action specifically are you taking?

If a host appears even just once in the metrics log during the time range you're searching, then it will be included in your result set. If the time it was last seen is older than 7200 seconds, it will be marked as DOWN. Only if your search does not find any results for a host in the metrics log will that host disappear from the result set.

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

if you want to keep track on only some UFs on your environment, you should add those to lookup file. Then exclude all other nodes, which you found from internal logs. Of course you must update that lookup every time you manage your UFs.

How this has done? You could found quite many examples from community by google search.

r. Ismo

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...