This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<form> | ||
<label>Record Trace</label> | ||
<fieldset submitButton="true" autoRun="false"> | ||
<input type="text" token="correlationId" searchWhenChanged="false"> | ||
<label>Correlation Id</label> | ||
</input> | ||
<input type="dropdown" searchWhenChanged="false" token="env"> | ||
<label>Environments</label> | ||
<choice value="dev">Development</choice> | ||
<choice value="test">Test</choice> | ||
<choice value="prod">Production</choice> | ||
<default>dev</default> | ||
<initialValue>dev</initialValue> | ||
</input> | ||
<input type="time" token="timestamp"> | ||
<label>Time Frame</label> | ||
<default> | ||
<earliest>@d</earliest> | ||
<latest>now</latest> | ||
</default> | ||
</input> | ||
</fieldset> | ||
<row> | ||
<panel> | ||
<table> | ||
<title>Record Trace</title> | ||
<search> | ||
<query>host="splunk-json-logger.localtunnel.me" environment=$env$ correlationId=$correlationId$ | sort by timestamp | fields - _* | fields + priority applicationName applicationVersion message tracePoint elapsed</query> | ||
<earliest>$timestamp.earliest$</earliest> | ||
<latest>$timestamp.latest$</latest> | ||
</search> | ||
<option name="count">100</option> | ||
<option name="drilldown">row</option> | ||
<option name="refresh.display">progressbar</option> | ||
<option name="rowNumbers">true</option> | ||
<option name="wrap">true</option> | ||
</table> | ||
</panel> | ||
</row> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<dashboard> | ||
<label>API charts</label> | ||
<row> | ||
<panel> | ||
<title>Completed Transactions per API</title> | ||
<chart> | ||
<search> | ||
<query>host="splunk-json-logger.localtunnel.me" environment=dev tracePoint=END | timechart span=1m count by applicationName</query> | ||
<earliest>-1d@d</earliest> | ||
<latest>@d</latest> | ||
</search> | ||
<option name="charting.chart">line</option> | ||
<option name="charting.drilldown">none</option> | ||
<option name="refresh.display">progressbar</option> | ||
</chart> | ||
</panel> | ||
</row> | ||
</dashboard> |