I have this search that is a very sparse search over 7 days and takes a long time to complete (more than ten hours) .
eventtype=wineventlog_windows host_list=1 | eval Host=if(isnull(Host), upper(host), upper(Host)) | stats count by Host | eval _key = Host | outputlookup windows_event_hosts.csv
This search is using a lookup file to tag systems as being on the host_list
I checked and there are 147 systems tagged and more than three times as many that are not on the list.
how can I reduce the time to run this search?
Some ideas I had were to
limit to known indexes,
Change from eventtype to sourcetype,
run a subsearch to get the host names and do a search on just the host names
I don't quite know what will happen if I check "Accelerate this search" box or if the data will be returned correctly in the dashboards.
I don't know how accelerating the scheduled search will impact resources like CPU, Memory, Disk Space?
... View more