sorry i have a last question :
where i put your code in "my" code
YOUR CODE :
First Chart
-24h@h
now
QA
index=_internal sourcetype=splunkd log_level=* component!="Metrics"
| stats count by log_level
| rename log_level as Type
$tokTime.earliest$
$tokTime.latest$
1
10
none
none
false
progressbar
true
false
true
| eventstats sum(count) as Total
| eval percent=round((count/Total)*100,1)
| eval Type=Type."(count: ".count.", percent: ".percent.")"
| fields - count Total
pie
0.0001
all
progressbar
[0x1e93c6,0xf2b827,0xd6563c]
MY CODE :
2.FO_Stopped_Services3.12.55.
5. 6. 7. -24h@h 8. now 9. QA
10.
<panel>
<table>
<title>FO_Stopped_Services_Synthesis</title>
<search ref="FO_Services_Count"></search>
<option name="drilldown">row</option>
<format type="color" field="count">
<colorPalette type="sharedList"></colorPalette>
<scale type="sharedCategory"></scale>
</format>
</table>
</panel>
<panel>
<chart>
<title>FO_Stopped_Services_Chart</title>
<search ref="FO_Chart_Services"></search>
<option name="charting.drilldown">none</option>
</chart>
</panel>
<panel>
<table>
<title>FO_Stopped_BIT_Service</title>
<search ref="FO_Service_BITS"></search>
<option name="count">10</option>
<option name="drilldown">row</option>
<option name="rowNumbers">false</option>
</table>
</panel>
<panel>
<table>
<title>FO_Stopped_PC Services_Service</title>
<search ref="FO_Service_PC Services"></search>
<option name="count">10</option>
<option name="drilldown">row</option>
<option name="rowNumbers">false</option>
</table>
</panel>
<panel>
<table>
<title>FO_Stopped_SCCM_Services</title>
<search ref="FO_Service_SCCM"></search>
<option name="count">10</option>
<option name="drilldown">row</option>
</table>
</panel>
... View more