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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...