Splunk Search

Is there a query that let's us know when the UF version on the machines have changed?

linspec9721
Explorer

Hello folks,

we have some linux machines with UF installed on that connect to our search head.

We haven't access to those machines.

There is some SPL query that can we use to know when the UF version on the machines has changed?

 Thank you.

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

The Monitoring Console has the ability to track your forwarders, including their versions.  That information is stored in a lookup called "dmc_forwarder_assets".  You then can create an alert that compares what's in the lookup to what was found in the logs.

index=_internal sourcetype=splunkd group=tcpin_connections (connectionType=cooked OR connectionType=cookedSSL) fwdType=* guid=* 
| stats values(fwdType) as forwarder_type, latest(version) as version by guid, hostname
| inputlookup append=t dmc_forwarder_assets
| stats values(*) as * by hostname
| where mvcount(version) > 1
---
If this reply helps you, Karma would be appreciated.

View solution in original post

linspec9721
Explorer

ok thank you

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The Monitoring Console has the ability to track your forwarders, including their versions.  That information is stored in a lookup called "dmc_forwarder_assets".  You then can create an alert that compares what's in the lookup to what was found in the logs.

index=_internal sourcetype=splunkd group=tcpin_connections (connectionType=cooked OR connectionType=cookedSSL) fwdType=* guid=* 
| stats values(fwdType) as forwarder_type, latest(version) as version by guid, hostname
| inputlookup append=t dmc_forwarder_assets
| stats values(*) as * by hostname
| where mvcount(version) > 1
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...