|
1 | | -<form> |
| 1 | +<form version="1.1"> |
2 | 2 | <label>BB2 Authorization Flow Dashboard</label> |
3 | 3 | <description>Dashboard panels related to the authorization flow log tracing</description> |
4 | 4 | <fieldset submitButton="false"></fieldset> |
|
205 | 205 | <sampleRatio>1</sampleRatio> |
206 | 206 | </search> |
207 | 207 | <search id="baseSearch13"> |
208 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=$bbEnv$ env=$bbEnvLabel$ $authAppNameExpr$ | spath "message.path" | search "message.path"="/$apiVersionsPattern$/o/authorize/" message.req_qparam_lang="es-mx" | fields time message.auth_uuid message.auth_app_name message.ip_addr message.response_code message.path message.auth_pkce_method message.req_qparam_lang</query> |
| 208 | + <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=$bbEnv$ env=$bbEnvLabel$ $authAppNameExpr$ | spath "message.path" | search "message.path"="/$apiVersionsPattern$/o/authorize/" message.req_qparam_lang="es*" | fields time message.auth_uuid message.auth_app_name message.ip_addr message.response_code message.path message.auth_pkce_method message.req_qparam_lang</query> |
209 | 209 | <earliest>$t_local.earliest$</earliest> |
210 | 210 | <latest>$t_local.latest$</latest> |
211 | 211 | <sampleRatio>1</sampleRatio> |
|
364 | 364 | <option name="refresh.display">progressbar</option> |
365 | 365 | </single> |
366 | 366 | </panel> |
367 | | - <panel> |
368 | | - <title>13. Spanish Language Authorization</title> |
369 | | - <single> |
370 | | - <search base="baseSearch13"> |
371 | | - <done> |
372 | | - <set token="tokEpCount">$result.count$</set> |
373 | | - </done> |
374 | | - <query>search "message.req_qparam_lang"="es-mx" | stats count</query> |
375 | | - </search> |
376 | | - <option name="drilldown">all</option> |
377 | | - <option name="height">226</option> |
378 | | - <option name="refresh.display">progressbar</option> |
379 | | - </single> |
380 | | - </panel> |
381 | 367 | </row> |
382 | 368 | <row> |
383 | | - |
384 | 369 | <panel> |
385 | 370 | <chart> |
386 | 371 | <title>Initial Authorization Request / Authorization Completed %</title> |
|
395 | 380 | <option name="refresh.display">progressbar</option> |
396 | 381 | </chart> |
397 | 382 | </panel> |
| 383 | + <panel> |
| 384 | + <title>Spanish Language Authorization Count</title> |
| 385 | + <single> |
| 386 | + <search base="baseSearch13"> |
| 387 | + <done> |
| 388 | + <set token="tokEpCountLang">$result.count$</set> |
| 389 | + </done> |
| 390 | + <query>stats count</query> |
| 391 | + </search> |
| 392 | + <option name="drilldown">all</option> |
| 393 | + <option name="height">226</option> |
| 394 | + <option name="refresh.display">progressbar</option> |
| 395 | + <drilldown> |
| 396 | + <link target="_blank">search?q=index%3Dbluebutton%20source%3D%22%2Fvar%2Flog%2Fpyapps%2Fperf_mon.log*%22%7C%20spath%20%22message.req_qparam_lang%22%20%7C%20search%20%22message.path%22%3D%22%2Fv*%2Fo%2Fauthorize%2F*%22%20message.req_qparam_lang%3D%22es*%22%20%7C%20fields%20time%20message.auth_uuid%20message.auth_app_name%20message.ip_addr%20message.response_code%20message.path%20message.auth_pkce_method%20message.req_qparam_lang%20%7C%20stats%20count&earliest=$t_local.earliest$&latest=$t_local.latest$</link> |
| 397 | + </drilldown> |
| 398 | + </single> |
| 399 | + </panel> |
| 400 | + <panel> |
| 401 | + <chart> |
| 402 | + <title>Spanish Authorization Request / Total Authorization Request %</title> |
| 403 | + <search> |
| 404 | + <query>| makeresults | eval Total1=$tokEpCount$, Total2=$tokEpCountLang$ | eval percent= round((Total2/Total1)*100,1) | table percent</query> |
| 405 | + <sampleRatio>1</sampleRatio> |
| 406 | + </search> |
| 407 | + <option name="charting.chart">radialGauge</option> |
| 408 | + <option name="charting.chart.rangeValues">[0,50,75,100]</option> |
| 409 | + <option name="charting.gaugeColors">["0xebe42d","0x7e9f44","0xd13b3b"]</option> |
| 410 | + <option name="height">226</option> |
| 411 | + <option name="refresh.display">progressbar</option> |
| 412 | + </chart> |
| 413 | + </panel> |
398 | 414 | </row> |
399 | 415 | <row> |
400 | 416 | <panel> |
|
462 | 478 | <done> |
463 | 479 | <set token="tokInitOkCount">$result.count$</set> |
464 | 480 | </done> |
465 | | - <query>stats count</query> |
| 481 | + <query>search "message.response_code"="302" | stats count</query> |
466 | 482 | </search> |
467 | 483 | <option name="drilldown">all</option> |
468 | 484 | <option name="height">226</option> |
|
1359 | 1375 | </single> |
1360 | 1376 | </panel> |
1361 | 1377 | <panel> |
1362 | | - <title>SUCCESSFUL Events (response_code=302)</title> |
| 1378 | + <title>SUCCESSFUL Events (response_code="302")</title> |
1363 | 1379 | <single> |
1364 | 1380 | <search base="baseSearch8"> |
1365 | 1381 | <done> |
|
1567 | 1583 | </single> |
1568 | 1584 | </panel> |
1569 | 1585 | <panel> |
1570 | | - <title>SUCCESSFUL Events (response_code=302)</title> |
| 1586 | + <title>SUCCESSFUL Events (response_code="302")</title> |
1571 | 1587 | <single> |
1572 | 1588 | <search base="baseSearch10"> |
1573 | 1589 | <done> |
|
0 commit comments