Installation

Forwarder Installation date - Audit

ramprakash
Explorer

Hi Splunkers,

I want list of all the forwarders with their first installation date or exactly since when they are sending data to Indexers.

Can someone please provide any details on this. Appreciate your help on this. Thanks !

Labels (1)
0 Karma

nickhills
Ultra Champion

Hi @ramprakash
Use the metadata command:

| metadata type=hosts index=_internal | eval first_connected=strftime(firstTime, "%Y/%m/%d %H:%M:%s")
| table host first_connected

This will show you the earliest event from Splunk for your hosts, you can then search with |search host=xxx

If my comment helps, please give it a thumbs up!

whrg
Motivator

To add to @nickhillscpl answer:
Set the time range picker to "All Time".
Also note that this search will retrieve the earliest events in the _internal index which are still available in Splunk. Older events might have been discarded due to exceeded retention periods or full indexes.

ramprakash
Explorer

yes older events have been discarded. This query is not giving me results i wanted.

Is there any other query which will give me first installation date.

0 Karma

nickhills
Ultra Champion

Thanks @whrg - I should have noted that!

If your _internal retention is shorter than your application/security data, you can always switch to index=myindex to look at the earliest event from a specific index

If my comment helps, please give it a thumbs up!

p_gurav
Champion

Hi,

You can try using below query to get first event come from forwarder:

index=_* | stats earliest(_time) as FirstAppearance by host
0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...