Skip to content

Commit

Permalink
optimize filtering on details dashboard
Browse files Browse the repository at this point in the history
increase dashboard versions
add aobmeta
  • Loading branch information
se-di committed Nov 5, 2021
1 parent c7dc394 commit 88cec1b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ Copyright
License
* GPL v3: README/LICENSE.md and/or https://www.gnu.org/licenses/gpl-3.0-standalone.html

# Binary File Declaration
12 changes: 6 additions & 6 deletions default/data/ui/views/ansible_play_detail.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<search id="play_base">
<query>eventtype=pors_plays session=* |eval target_env=if(isnull(target_env),"unknown",target_env) | fields *</query>
<!-- we HAVE TO use | fields as all searches run in fast mode and so fields will not get extracted properly -->
Expand Down Expand Up @@ -69,7 +69,7 @@
<title>All Tasks</title>
<single>
<search base="play_base">
<query>| search session=$ansible_session$ | stats count</query>
<query>| search session=$ansible_session$ $tok_env$ | stats count</query>
</search>
<option name="drilldown">all</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
Expand All @@ -84,7 +84,7 @@
<title>Successful Tasks</title>
<single>
<search base="play_base">
<query>| search session=$ansible_session$ status=OK | stats count</query>
<query>| search session=$ansible_session$ status=OK $tok_env$ | stats count</query>
</search>
<option name="colorBy">value</option>
<option name="colorMode">block</option>
Expand Down Expand Up @@ -114,7 +114,7 @@
<title>Skipped Tasks</title>
<single>
<search base="play_base">
<query>| search session=$ansible_session$ status=SKIPPED | stats count</query>
<query>| search session=$ansible_session$ status=SKIPPED $tok_env$ | stats count</query>
</search>
<option name="colorBy">value</option>
<option name="colorMode">block</option>
Expand Down Expand Up @@ -143,7 +143,7 @@
<title>Failed Tasks</title>
<single>
<search base="play_base">
<query>| search session=$ansible_session$ status="FAILED" | stats count</query>
<query>| search session=$ansible_session$ status="FAILED" $tok_env$ | stats count</query>
</search>
<option name="colorBy">value</option>
<option name="colorMode">block</option>
Expand Down Expand Up @@ -171,7 +171,7 @@
<title>Unreachable Tasks</title>
<single>
<search base="play_base">
<query>| search session=$ansible_session$ status="UNREACHABLE" | stats count</query>
<query>| search session=$ansible_session$ status="UNREACHABLE" $tok_env$ | stats count</query>
</search>
<option name="colorBy">value</option>
<option name="colorMode">block</option>
Expand Down
2 changes: 1 addition & 1 deletion default/data/ui/views/ansible_plays_overview.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<search id="play_base">
<query>eventtype=pors_plays session=* |eval target_env=if(isnull(target_env),"unknown",target_env) | fields *</query>
<!-- we HAVE TO use | fields as all searches run in fast mode and so fields will not get extracted properly -->
Expand Down
1 change: 1 addition & 0 deletions sd_pors.aob_meta
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"validation": {"validators": ["best_practice_validation", "field_extract_validation", "app_cert_validation"], "status": "job_started", "validation_id": "v_1636112282_1"}}

0 comments on commit 88cec1b

Please sign in to comment.