Created
December 9, 2015 19:15
-
-
Save hortonew/9f30f8b938ff9bcc53cb to your computer and use it in GitHub Desktop.
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
index=winevents* sourcetype="WinEventLog:System" | |
| dedup ComputerName, host | |
| rex field=ComputerName "(?<RealHostName>[\w\d\-]+)\..+" | |
| eval RealHostName=lower(RealHostName) | eval ReportedHostName=lower(host) | |
| where RealHostName!=ReportedHostName | |
| table RealHostName, ReportedHostName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment