Skip to content

Commit 3c35d37

Browse files
committed
visibility into splunk indexed volumes
1 parent f98fbee commit 3c35d37

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<form version="1.1">
2+
<label>Ingestion Summary</label>
3+
<description>This dashboard is provided to estimate daily ingestion for various sources of data in Splunk.</description>
4+
<search id="base_search">
5+
<query>index="_internal" source="*metrics.log" group="per_sourcetype_thruput"
6+
| bucket _time span=1d
7+
| eval GB=kb/1024/1024
8+
| stats sum(GB) as "GB Ingest" avg(GB) as "Average GB" max(GB) as "Max GB" avg(eps) as "Events per Second" by _time, series
9+
| stats sum("GB Ingest") as "Total Ingest(GB)", avg("GB Ingest") as "Daily Avg Ingest(GB)", max("GB Ingest") as "Daily Max Ingest(GB)" by series
10+
| eval "Total Ingest(GB)"=round('Total Ingest(GB)',4), "Daily Avg Ingest(GB)"=round('Daily Avg Ingest(GB)',4), "Daily Max Ingest(GB)"=round('Daily Max Ingest(GB)',4), "Events per Second"=round('Events per Second',4)
11+
| rename series as sourcetype
12+
| sort -"Total Ingest(GB)"</query>
13+
<earliest>$myTime.earliest$</earliest>
14+
<latest>$myTime.latest$</latest>
15+
<sampleRatio>1</sampleRatio>
16+
</search>
17+
<fieldset submitButton="false">
18+
<input type="time" token="myTime" searchWhenChanged="true">
19+
<label></label>
20+
<default>
21+
<earliest>-7d@h</earliest>
22+
<latest>now</latest>
23+
</default>
24+
</input>
25+
</fieldset>
26+
<row>
27+
<panel>
28+
<title>Ingestion by sourcetype</title>
29+
<chart>
30+
<search base="base_search">
31+
<query/>
32+
<earliest>$myTime.earliest$</earliest>
33+
<latest>$myTime.latest$</latest>
34+
<sampleRatio>1</sampleRatio>
35+
</search>
36+
<option name="charting.chart">pie</option>
37+
<option name="charting.drilldown">none</option>
38+
<option name="refresh.display">progressbar</option>
39+
</chart>
40+
</panel>
41+
</row>
42+
<row>
43+
<panel>
44+
<table>
45+
<search base="base_search">
46+
<query/>
47+
<earliest>$myTime.earliest$</earliest>
48+
<latest>$myTime.latest$</latest>
49+
<sampleRatio>1</sampleRatio>
50+
</search>
51+
<option name="count">20</option>
52+
<option name="dataOverlayMode">none</option>
53+
<option name="drilldown">none</option>
54+
<option name="percentagesRow">false</option>
55+
<option name="refresh.display">progressbar</option>
56+
<option name="rowNumbers">false</option>
57+
<option name="totalsRow">false</option>
58+
<option name="wrap">true</option>
59+
</table>
60+
</panel>
61+
</row>
62+
</form>

0 commit comments

Comments
 (0)