Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 4698f76

Browse files
committed
added more dashboards
1 parent e48c456 commit 4698f76

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<form>
2+
<label>Record Trace</label>
3+
<fieldset submitButton="true" autoRun="false">
4+
<input type="text" token="correlationId" searchWhenChanged="false">
5+
<label>Correlation Id</label>
6+
</input>
7+
<input type="dropdown" searchWhenChanged="false" token="env">
8+
<label>Environments</label>
9+
<choice value="dev">Development</choice>
10+
<choice value="test">Test</choice>
11+
<choice value="prod">Production</choice>
12+
<default>dev</default>
13+
<initialValue>dev</initialValue>
14+
</input>
15+
<input type="time" token="timestamp">
16+
<label>Time Frame</label>
17+
<default>
18+
<earliest>@d</earliest>
19+
<latest>now</latest>
20+
</default>
21+
</input>
22+
</fieldset>
23+
<row>
24+
<panel>
25+
<table>
26+
<title>Record Trace</title>
27+
<search>
28+
<query>host="splunk-json-logger.localtunnel.me" environment=$env$ correlationId=$correlationId$ | sort by timestamp | fields - _* | fields + priority applicationName applicationVersion message tracePoint elapsed</query>
29+
<earliest>$timestamp.earliest$</earliest>
30+
<latest>$timestamp.latest$</latest>
31+
</search>
32+
<option name="count">100</option>
33+
<option name="drilldown">row</option>
34+
<option name="refresh.display">progressbar</option>
35+
<option name="rowNumbers">true</option>
36+
<option name="wrap">true</option>
37+
</table>
38+
</panel>
39+
</row>
40+
</form>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<dashboard>
2+
<label>API charts</label>
3+
<row>
4+
<panel>
5+
<title>Completed Transactions per API</title>
6+
<chart>
7+
<search>
8+
<query>host="splunk-json-logger.localtunnel.me" environment=dev tracePoint=END | timechart span=1m count by applicationName</query>
9+
<earliest>-1d@d</earliest>
10+
<latest>@d</latest>
11+
</search>
12+
<option name="charting.chart">line</option>
13+
<option name="charting.drilldown">none</option>
14+
<option name="refresh.display">progressbar</option>
15+
</chart>
16+
</panel>
17+
</row>
18+
</dashboard>

0 commit comments

Comments
 (0)