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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...