Skip to content

Commit

Permalink
Merge pull request #1542 from ulmako/master
Browse files Browse the repository at this point in the history
extend spike documentation
  • Loading branch information
jertel authored Sep 25, 2024
2 parents e3c7363 + d53f534 commit c885e9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- None

## Other changes
- None
- [Docs] Mention the two available Spike-rule metrics that are add into the match record - [#1542](https://github.com/jertel/elastalert2/pull/1542) - @ulmako

# 2.20.0

Expand Down
5 changes: 5 additions & 0 deletions docs/source/ruletypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1412,6 +1412,11 @@ default 50, unique terms.

``query_key``: Counts of documents will be stored independently for each value of ``query_key``.

.. note::

Matches of the rule type ``spike`` contain two additional fields: ``spike_count`` contains the number of events that occurred during the
current timeframe. ``reference_count`` contains the number of events that occurred during the reference timeframe.

Flatline
~~~~~~~~

Expand Down

0 comments on commit c885e9f

Please sign in to comment.