Dashboards & Visualizations

How to exclude equal values in different columns

reneedeleon
Engager

How to exclude equal values in different columns to obtain stats with different values only? I want to exclude similarities to list only where the user and sysuser are different.

index=example* stuff
| stats count by user, sysuser

*user **sysuser
Bill Bill
Steve Steve
*Dave Jon
Vince Daniel

Any Ideas?

Tags (1)
0 Karma

kmaron
Motivator
index=example* stuff
| stats count by user, sysuser
| where user!=sysuser
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...