Thanks nikenilay,
I got a little confused actually because I have thousands of hosts and can't put each in lets say | makerresults piece for instance.
Here is my complete source code for one of the dashboards, pls guide me what is up with this to make it faster and post processing. It runs perfectly fine, just is slow. Adjust as you suggest it should be.
<form>
<label>Sample</label>
<fieldset autoRun="true" submitButton="false">
<input type="dropdown" token="boundary">
<label>Select a Boundary</label>
<fieldForLabel>Boundary</fieldForLabel>
<fieldForValue>Boundary</fieldForValue>
<search>
<query>| inputlookup boundary_servers_simple.csv
| fields Boundary
| dedup Boundary</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<choice value="*">All</choice>
<default>*</default>
</input>
<input type="dropdown" token="server" searchWhenChanged="true">
<label>Host in Boundary</label>
<fieldForLabel>FQDN</fieldForLabel>
<fieldForValue>FQDN</fieldForValue>
<search>
<query>| inputlookup boundary_servers_simple.csv where Boundary="$boundary$"
| fields FQDN
| dedup FQDN
| sort by FQDN Asc</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<choice value="*">All</choice>
<default>*</default>
</input>
<input type="dropdown" token="eventcode" searchWhenChanged="true">
<label>Event Code</label>
<fieldForLabel>EventCode</fieldForLabel>
<fieldForValue>EventCode</fieldForValue>
<search>
<query>| inputlookup Windows2008andAbove_EventCode_AllSources.csv
| fields EventCode
| dedup EventCode
| sort EventCode Asc</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<default>4624</default>
</input>
<input type="dropdown" token="description" searchWhenChanged="true">
<label>EventType</label>
<fieldForLabel>EventCodeDescription</fieldForLabel>
<fieldForValue>EventCodeDescription</fieldForValue>
<search>
<query>| inputlookup Windows2008andAbove_EventCode_AllSources.csv
| where EventCode="$eventcode$"
| fields EventCodeDescription</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<default>An account was successfully logged on</default>
</input>
<input type="time" token="time" searchWhenChanged="true">
<label>Time Picker</label>
<default>
<earliest>-7d@h</earliest>
<latest>now</latest>
</default>
</input>
</fieldset>
<row>
<panel>
<title>Results for Boundary=($boundary$), Server=($server$)</title>
<table>
<title>Event Code ($eventcode$) - $description$</title>
<search>
<query>index=wineventlog sourcetype="WinEventLog:Security" EventCode="$eventcode$" Account_Name!="*$" Account_Name!="SYSTEM" Account_Name!="LOCAL ACCOUNT" Account_Name!="HealthMail*" Account_Name!="Symantec*" Account_Name!="SMP*" Account_Name!="*POOL" Account_Name!="APPPOOL*" Account_Name!="NETWORK SERVICE" [| inputlookup boundary_servers_simple.csv WHERE Boundary="$boundary$" AND FQDN="$server$" | fields FQDN | dedup FQDN | rename FQDN as host | eval Account_Name=mvindex(Account_Name, 1)]
| eval Account_Domain=mvindex(Account_Domain, 1)
| stats count by host, Account_Domain, Account_Name, EventCode, EventCodeDescription, _time
| where NOT LIKE(LOWER(Account_Name),"-")
| fieldformat _time=strftime('_time', "%m/%d/%Y %T")
| dedup Account_Name</query>
<earliest>$time.earliest$</earliest>
<latest>$time.latest$</latest>
</search>
<option name="drilldown">row</option>
</table>
</panel>
</row>
<row>
<panel>
<chart>
<title>Top LogIn Failures Destinations @ $boundary$ Boundary</title>
<search>
<query>index=wineventlog sourcetype="WinEventLog:Security" EventCode=4625 [| inputlookup boundary_servers_simple.csv WHERE Boundary="$boundary$" AND FQDN="$server$" | fields FQDN | dedup FQDN | rename FQDN as host]
| stats count by host
| top host showperc=f</query>
<earliest>$time.earliest$</earliest>
<latest>$time.latest$</latest>
</search>
<option name="charting.chart">pie</option>
<option name="charting.chart.sliceCollapsingThreshold">0</option>
<option name="charting.drilldown">none</option>
<option name="height">302</option>
</chart>
</panel>
<panel>
<chart>
<title>Top LogIn Failures by User @ $boundary$ Boundary</title>
<search>
<query>index=wineventlog sourcetype="WinEventLog:Security" EventCode=4625 Account_Name!="*$" Account_Name!="SYSTEM" Account_Name!="LOCAL ACCOUNT" Account_Name!="HealthMail*" Account_Name!="Symantec*" Account_Name!="SMP*" Account_Name!="*POOL" Account_Name!="APPPOOL*" Account_Name!="NETWORK SERVICE" Account_Name!="GAdminAD" Account_Name!="GadminAD" Account_Name!="LOCAL SERVICE" [| inputlookup boundary_servers_simple.csv WHERE Boundary="$boundary$" AND FQDN="$server$" | fields FQDN | dedup FQDN | rename FQDN as host]
| where NOT LIKE(LOWER(Account_Name),"%svc")
| top Account_Name showperc=f</query>
<earliest>$time.earliest$</earliest>
<latest>$time.latest$</latest>
</search>
<option name="charting.chart">pie</option>
<option name="charting.chart.sliceCollapsingThreshold">0</option>
<option name="charting.drilldown">none</option>
<option name="height">299</option>
</chart>
</panel>
<panel>
<chart>
<title>Top LogIn Failures Explicit by User @ $boundary$ Boundary</title>
<search>
<query>index=wineventlog sourcetype="WinEventLog:Security" EventCode=4648 Account_Name!="*$" Account_Name!="SYSTEM" Account_Name!="LOCAL ACCOUNT" Account_Name!="HealthMail*" Account_Name!="Symantec*" Account_Name!="SMP*" Account_Name!="*POOL" Account_Name!="APPPOOL*" Account_Name!="NETWORK SERVICE" Account_Name!="GAdminAD" Account_Name!="GadminAD" Account_Name!="LOCAL SERVICE" [| inputlookup boundary_servers_simple.csv WHERE Boundary="$boundary$" AND FQDN="$server$" | fields FQDN | dedup FQDN | rename FQDN as host]
| where NOT LIKE(LOWER(Account_Name),"%svc")
| top Account_Name showperc=f</query>
<earliest>$time.earliest$</earliest>
<latest>$time.latest$</latest>
</search>
<option name="charting.chart">pie</option>
<option name="charting.chart.sliceCollapsingThreshold">0</option>
<option name="charting.drilldown">none</option>
<option name="height">300</option>
</chart>
</panel>
<panel>
<chart>
<title>Top LogIn Failures SVC Account/s @ $boundary$ Boundary</title>
<search>
<query>index=wineventlog sourcetype="WinEventLog:Security" EventCode=4625 Account_Name!="*$" Account_Name!="SYSTEM" Account_Name!="LOCAL ACCOUNT" Account_Name!="HealthMail*" Account_Name!="Symantec*" Account_Name!="SMP*" Account_Name!="*POOL" Account_Name!="APPPOOL*" Account_Name!="NETWORK SERVICE" Account_Name!="GAdminAD" Account_Name!="GadminAD" Account_Name!="LOCAL SERVICE" [| inputlookup boundary_servers_simple.csv WHERE Boundary="$boundary$" AND FQDN="$server$" | fields FQDN | dedup FQDN | rename FQDN as host]
| where LIKE(LOWER(Account_Name),"%svc")
| top Account_Name showperc=f</query>
<earliest>$time.earliest$</earliest>
<latest>$time.latest$</latest>
</search>
<option name="charting.chart">pie</option>
<option name="charting.chart.sliceCollapsingThreshold">0</option>
<option name="charting.drilldown">none</option>
<option name="height">300</option>
</chart>
</panel>
</row>
</form>
... View more