Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
Fix Issue #391
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhemmarchand committed May 3, 2022
1 parent 8a79322 commit 81c8d90
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions docs/releasenotes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
Release notes
#############

Version 1.2.59
==============

.. warning:: **Splunk 8.x and Python3 support only**

- Starting from this release, only Splunk 8.x and Python3 are supported
- Some functions such as builtin alert actions are not compatible any longer with Python2 and Splunk 7.x
- For the latest version available for Splunk 7.x, see the release 1.2.51

- Fix Issue #391 - HA group alert mapping is not working as expected #391

Version 1.2.58
==============

Expand Down
4 changes: 3 additions & 1 deletion package/default/data/ui/html/TrackMe.html
Original file line number Diff line number Diff line change
Expand Up @@ -25290,6 +25290,9 @@ <h2 class="panel-title">Click on a table row to access object contextual actions
// add the priority filter
tk_custom_alert = tk_custom_alert + "\n| search " + tk_input_custom_alert_priority;

// handle HA groups
tk_custom_alert = tk_custom_alert + "\n| `trackme_data_host_group_lookup`";

// add the state filter
tk_custom_alert = tk_custom_alert + "\n| eval state=coalesce(data_source_state,data_host_state,metric_host_state) | where (state=\"red\" OR state=\"orange\") | search " + tk_input_custom_alert_state;

Expand All @@ -25310,7 +25313,6 @@ <h2 class="panel-title">Click on a table row to access object contextual actions
// handle time filtering
tk_custom_alert = tk_custom_alert + "\n| `" + tk_input_custom_alert_time_filtering + "`";

tk_custom_alert = tk_custom_alert + "\n| `trackme_data_host_group_lookup`";
tk_custom_alert = tk_custom_alert + "\n| `trackme_date_format(data_last_ingest)`";
tk_custom_alert = tk_custom_alert + "\n| `trackme_date_format(data_last_time_seen)`";
tk_custom_alert = tk_custom_alert + "\n| `trackme_date_format(data_tracker_runtime)`";
Expand Down

0 comments on commit 81c8d90

Please sign in to comment.