Skip to content

Commit 3c937c7

Browse files
BB2-3970: Cleanup legacy splunk dashboards (#1377)
* BB2-3970: Cleanup legacy splunk dashboards * Set form version = 1.1 for each dashboard that needed it * Address PR feedback: Remove _legacy.xml files, remove _greenfield from current file and dashboard names
1 parent f029afd commit 3c937c7

7 files changed

+1933
-3914
lines changed

splunk/api_big_stats_dashboard.xml

Lines changed: 790 additions & 790 deletions
Large diffs are not rendered by default.

splunk/api_big_stats_dashboard_greenfield.xml

Lines changed: 0 additions & 791 deletions
This file was deleted.

splunk/authorization_flow_dashboard.xml

Lines changed: 1101 additions & 1093 deletions
Large diffs are not rendered by default.

splunk/authorization_flow_dashboard_greenfield.xml

Lines changed: 0 additions & 1198 deletions
This file was deleted.

splunk/dasg_metrics_dashboard.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form>
1+
<form version="1.1">
22
<label>BB2 DASG Metrics Dashboard</label>
33
<description>Dashboard panels related to metrics for DASG reporting</description>
44
<fieldset submitButton="false"></fieldset>
@@ -36,43 +36,43 @@
3636
<!-- Setup of BASE searches to be used in panels -->
3737
<search id="baseSearch1a">
3838
<!-- BASE search 1a. New Beneficiaries Added -->
39-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" env=prod | spath "message.type" | search "message.type"="mymedicare_cb:create_beneficiary_record" | dedup message.fhir_id message.auth_client_id message.auth_uuid message.username | fields time message.auth_uuid message.fhir_id message.username message.auth_app_name message.mesg mesg message.user_mbi_hash message.user_hicn_hash message.auth_pkce_method message.status</query>
39+
<query>index=application source="/bb/*/app/perf_mon.log" env=prod | spath "message.type" | search "message.type"="mymedicare_cb:create_beneficiary_record" | dedup message.fhir_id message.auth_client_id message.auth_uuid message.username | fields time message.auth_uuid message.fhir_id message.username message.auth_app_name message.mesg mesg message.user_mbi_hash message.user_hicn_hash message.auth_pkce_method message.status</query>
4040
<earliest>$t_local.earliest$</earliest>
4141
<latest>$t_local.latest$</latest>
4242
<sampleRatio>1</sampleRatio>
4343
</search>
4444
<search id="baseSearch1b">
4545
<!-- BASE search 1b. RETURNING Beneficiaries who have re-authorized -->
46-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" env=prod | spath "message.type" | search "message.type"="mymedicare_cb:get_and_update_user" | search "message.mesg"="RETURN existing beneficiary record" | dedup message.fhir_id message.auth_client_id message.auth_uuid | fields time message.auth_uuid message.fhir_id message.auth_app_name message.mesg mesg message.user_mbi_hash message.user_hicn_hash message.auth_pkce_method message.status</query>
46+
<query>index=application source="/bb/*/app/perf_mon.log" env=prod | spath "message.type" | search "message.type"="mymedicare_cb:get_and_update_user" | search "message.mesg"="RETURN existing beneficiary record" | dedup message.fhir_id message.auth_client_id message.auth_uuid | fields time message.auth_uuid message.fhir_id message.auth_app_name message.mesg mesg message.user_mbi_hash message.user_hicn_hash message.auth_pkce_method message.status</query>
4747
<earliest>$t_local.earliest$</earliest>
4848
<latest>$t_local.latest$</latest>
4949
<sampleRatio>1</sampleRatio>
5050
</search>
5151
<search id="baseSearch2">
5252
<!-- BASE search benes choosing to share demographics -->
53-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" env=prod | spath "message.type" | search "message.type"="Authorization" | fields time message.auth_uuid message.auth_status message.message.application.name message.user.username message.user.crosswalk.fhir_id message.allow message.auth_share_demographic_scopes message.auth_require_demographic_scopes message.user.crosswalk.user_id_type message.auth_app_name message.user.crosswalk.user_mbi_hash message.user.crosswalk.user_hicn_hash message.auth_pkce_method message.scopes message.data_access_grant_delete_cnt message.access_token_delete_cnt message.refresh_token_delete_cnt message.auth_crosswalk_action message.user.crosswalk.fhir_id</query>
53+
<query>index=application source="/bb/*/app/perf_mon.log" env=prod | spath "message.type" | search "message.type"="Authorization" | fields time message.auth_uuid message.auth_status message.message.application.name message.user.username message.user.crosswalk.fhir_id message.allow message.auth_share_demographic_scopes message.auth_require_demographic_scopes message.user.crosswalk.user_id_type message.auth_app_name message.user.crosswalk.user_mbi_hash message.user.crosswalk.user_hicn_hash message.auth_pkce_method message.scopes message.data_access_grant_delete_cnt message.access_token_delete_cnt message.refresh_token_delete_cnt message.auth_crosswalk_action message.user.crosswalk.fhir_id</query>
5454
<earliest>$t_local.earliest$</earliest>
5555
<latest>$t_local.latest$</latest>
5656
<sampleRatio>1</sampleRatio>
5757
</search>
5858
<search id="baseSearchFhirV1">
5959
<!-- BASE search for FHIR V1 events -->
60-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" env=prod message.path="/v1/fhir/*" | fields time message.path message.response_code message.fhir_id</query>
60+
<query>index=application source="/bb/*/app/perf_mon.log" env=prod message.path="/v1/fhir/*" | fields time message.path message.response_code message.fhir_id</query>
6161
<earliest>$t_local.earliest$</earliest>
6262
<latest>$t_local.latest$</latest>
6363
<sampleRatio>1</sampleRatio>
6464
</search>
6565
<search id="baseSearchFhirV2">
6666
<!-- BASE search for FHIR V2 events -->
67-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" env=prod message.path="/v2/fhir/*" | fields time message.path message.response_code message.fhir_id</query>
67+
<query>index=application source="/bb/*/app/perf_mon.log" env=prod message.path="/v2/fhir/*" | fields time message.path message.response_code message.fhir_id</query>
6868
<earliest>$t_local.earliest$</earliest>
6969
<latest>$t_local.latest$</latest>
7070
<sampleRatio>1</sampleRatio>
7171
</search>
7272

7373
<!--<search id="baseSearchBeneCount">-->
7474
<!-- BASE search for FHIR V1 events -->
75-
<!-- <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod </query>-->
75+
<!-- <query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod </query>-->
7676
<!-- <earliest>$t_local.earliest$</earliest>-->
7777
<!-- <latest>$t_local.latest$</latest>-->
7878
<!-- <sampleRatio>1</sampleRatio>-->
@@ -114,13 +114,13 @@
114114
<done>
115115
<set token="tokGroupTimestamp">$result.message.group_timestamp$</set>
116116
</done>
117-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod | search "message.type"="global_state_metrics" | head 1 | table message.group_timestamp</query>
117+
<query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod | search "message.type"="global_state_metrics" | head 1 | table message.group_timestamp</query>
118118
<earliest>$t_local.earliest$</earliest>
119119
<latest>$t_local.latest$</latest>
120120
</search>
121121
<single>
122122
<search>
123-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod "message.type"="global_state_metrics" "message.group_timestamp"=$tokGroupTimestamp|s$ | table message.real_bene_cnt</query>
123+
<query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod "message.type"="global_state_metrics" "message.group_timestamp"=$tokGroupTimestamp|s$ | table message.real_bene_cnt</query>
124124
<earliest>$t_local.earliest$</earliest>
125125
<latest>$t_local.latest$</latest>
126126
</search>
@@ -196,7 +196,7 @@
196196
<set token="tokFhirV1PatientOKCount">$result.count$</set>
197197
</done>
198198
<!-- message.group_timestamp="2021-07-14T07:00:54+00:00" -->
199-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True message.real_bene_cnt>25 | stats count</query>
199+
<query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True message.real_bene_cnt>25 | stats count</query>
200200
<earliest>$t_local.earliest$</earliest>
201201
<latest>$t_local.latest$</latest>
202202
</search>
@@ -212,7 +212,7 @@
212212
<done>
213213
<set token="tokFhirV1PatientOKCount">$result.count$</set>
214214
</done>
215-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True message.real_bene_cnt&lt;=25 | stats count</query>
215+
<query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True message.real_bene_cnt&lt;=25 | stats count</query>
216216
<earliest>$t_local.earliest$</earliest>
217217
<latest>$t_local.latest$</latest>
218218
</search>
@@ -228,7 +228,7 @@
228228
<done>
229229
<set token="tokFhirV1PatientOKCount">$result.count$</set>
230230
</done>
231-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True | stats count</query>
231+
<query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True | stats count</query>
232232
<earliest>$t_local.earliest$</earliest>
233233
<latest>$t_local.latest$</latest>
234234
</search>
@@ -451,7 +451,7 @@
451451
<done>
452452
<set token="tokGroupTimestampSandbox">$result.message.group_timestamp$</set>
453453
</done>
454-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=impl | search "message.type"="global_state_metrics" | head 1 | table message.group_timestamp</query>
454+
<query>index=application source="/bb/*/app/perf_mon.log" host=* env=impl | search "message.type"="global_state_metrics" | head 1 | table message.group_timestamp</query>
455455
<earliest>$t_local.earliest$</earliest>
456456
<latest>$t_local.latest$</latest>
457457
</search>
@@ -468,7 +468,7 @@
468468
<title>1. TOTAL Dev w/ SBX Cred + Registered App</title>
469469
<single>
470470
<search>
471-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=impl | search "message.type"="global_state_metrics" | head 1 | table message.global_apps_active_cnt</query>
471+
<query>index=application source="/bb/*/app/perf_mon.log" host=* env=impl | search "message.type"="global_state_metrics" | head 1 | table message.global_apps_active_cnt</query>
472472
</search>
473473
<option name="drilldown">all</option>
474474
<option name="height">226</option>
@@ -480,7 +480,7 @@
480480
<title>2. TOTAL Dev w/ SBX Cred + Registered App + API Call</title>
481481
<single>
482482
<search>
483-
<query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=impl | search "message.type"="global_state_metrics_per_app" | search "message.first_active"!="null" "message.group_timestamp"=$tokGroupTimestampSandbox|s$ | stats count</query>
483+
<query>index=application source="/bb/*/app/perf_mon.log" host=* env=impl | search "message.type"="global_state_metrics_per_app" | search "message.first_active"!="null" "message.group_timestamp"=$tokGroupTimestampSandbox|s$ | stats count</query>
484484
</search>
485485
<option name="drilldown">all</option>
486486
<option name="height">226</option>

0 commit comments

Comments
 (0)