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.

Labels (1)
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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...