eventtype=wineventlog_index_windows eventtype="wineventlog_common" | eval Host=if(isNull(host),Host,host) | fields Host,LogName,EventCode $Time.earliest$ $Time.latest$ eventtype=perfmon_index_windows eventtype="perfmon_windows" object=* counter=* | eval Host=if(isNull(host),Host,host) | fields Host,object,counter $Time.earliest$ $Time.latest$
@d now
Windows Events | stats dc(Host) as count Windows Events | stats dc(LogName) as count Windows Events | stats count by EventCode, LogName | stats count Windows Performance Counters | stats dc(Host) as count Windows Performance Counters | stats dc(object) as count Windows Performance Counters | stats dc(counter) as count Sources eventtype=windows_index_windows OR eventtype=wineventlog_index_windows OR eventtype=perfmon_index_windows | fields source | stats count by source | rename source as Source,count as Count $Time.earliest$ $Time.latest$
Sourcetypes eventtype=windows_index_windows OR eventtype=wineventlog_index_windows OR eventtype=perfmon_index_windows | fields sourcetype | stats count by sourcetype | rename sourcetype as Sourcetype,count as Count $Time.earliest$ $Time.latest$
Hosts eventtype=windows_index_windows OR eventtype=wineventlog_index_windows OR eventtype=perfmon_index_windows | fields host | stats count by host | rename host as Host,count as Count $Time.earliest$ $Time.latest$