Skip to content

Commit

Permalink
address feedbacks - show 5xx total and 4xx total upfront...
Browse files Browse the repository at this point in the history
  • Loading branch information
JFU-NAVA-PBC committed Feb 12, 2025
1 parent a31f1a3 commit a29f28a
Showing 1 changed file with 26 additions and 14 deletions.
40 changes: 26 additions & 14 deletions splunk/api_big_stats_dashboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -318,20 +318,6 @@
<option name="refresh.display">progressbar</option>
</chart>
</panel>
<panel>
<chart>
<title>Distribution of response codes</title>
<search>
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=$bbEnv$ env=$bbEnvLabel$ $appNameExpr$ message.path!="/health*" | search "message.ip_addr"="$bbIpAddr$" AND ("message.path"=".well-known/*" OR "message.path"="/$apiVersionsPattern$/*" OR "message.path"="*/admin/*") | spath output=code path="message.response_code" | table code | stats count by code</query>
<earliest>$t_local.earliest$</earliest>
<latest>$t_local.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="charting.chart">pie</option>
<option name="charting.chart.showPercent">true</option>
<option name="charting.chart.sliceCollapsingThreshold">0</option>
</chart>
</panel>
</row>
<row>
<panel>
Expand All @@ -354,6 +340,19 @@
<option name="refresh.display">progressbar</option>
</chart>
</panel>
<panel>
<title>5XX Responses Total</title>
<single>
<search>
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=$bbEnv$ env=$bbEnvLabel$ $appNameExpr$ message.path!="/health*" | search "message.ip_addr"="$bbIpAddr$" AND (message.response_code &gt; 499) AND (message.response_code &lt; 600) AND ("message.path"=".well-known/*" OR "message.path"="/$apiVersionsPattern$/*" OR "message.path"="*/admin/*") | spath output=code path="message.response_code" | table code | stats count</query>
<earliest>$t_local.earliest$</earliest>
<latest>$t_local.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="height">137</option>
<option name="refresh.display">progressbar</option>
</single>
</panel>
<panel>
<chart>
<title>5XX Responses Breakdown</title>
Expand Down Expand Up @@ -388,6 +387,19 @@
<option name="refresh.display">progressbar</option>
</chart>
</panel>
<panel>
<title>4XX Responses Total</title>
<single>
<search>
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=$bbEnv$ env=$bbEnvLabel$ $appNameExpr$ message.path!="/health*" | search "message.ip_addr"="$bbIpAddr$" AND (message.response_code &gt; 399) AND (message.response_code &lt; 500) AND ("message.path"=".well-known/*" OR "message.path"="/$apiVersionsPattern$/*" OR "message.path"="*/admin/*") | spath output=code path="message.response_code" | table code | stats count</query>
<earliest>$t_local.earliest$</earliest>
<latest>$t_local.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="height">137</option>
<option name="refresh.display">progressbar</option>
</single>
</panel>
<panel>
<chart>
<title>4XX Responses Breakdown</title>
Expand Down

0 comments on commit a29f28a

Please sign in to comment.