Splunk Search

Return user who matches only one value in same field

mmacdonald70
Explorer

I appologize if this is already answered. I'm having trouble figuring out how to even search for it.

I am trying to search through logs that have two fields: user and software version. I am trying to find a way to search through this data and return any user who has not upgraded their software so I would like to be able to return a list of all users who have never matched software version x but have matches other versions. How would I search for that?

0 Karma

jkat54
SplunkTrust
SplunkTrust
 | stats latest(version) by software host
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Perhaps index=foo user=* softwareVersion!=x | table user softwareVersion?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

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