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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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