Created
March 21, 2017 14:22
-
-
Save hortonew/ec59ffcbb113b516cfb6a28957936b22 to your computer and use it in GitHub Desktop.
Splunk one-way diff search
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set diff | |
[| makeresults count=1 | eval users="user1 user2 user6" | makemv users | mvexpand users | table users | append [search sourcetype=linux_secure logged_in_user!="" | table users] | stats values(users) as users | mvexpand users | table users] | |
[search sourcetype=linux_secure logged_in_user!="" | stats values(logged_in_user) as users | mvexpand users | table users] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment