@@ -58,6 +58,20 @@ Rule Configuration Cheat Sheet
5858+--------------------------------------------------------------+ |
5959| ``kibana4_end_timedelta `` (time, default: 10 min) | |
6060+--------------------------------------------------------------+ |
61+ | ``generate_kibana_discover_url `` (boolean, default False) | |
62+ +--------------------------------------------------------------+ |
63+ | ``kibana_discover_app_url `` (string, no default) | |
64+ +--------------------------------------------------------------+ |
65+ | ``kibana_discover_version `` (string, no default) | |
66+ +--------------------------------------------------------------+ |
67+ | ``kibana_discover_index_pattern_id `` (string, no default) | |
68+ +--------------------------------------------------------------+ |
69+ | ``kibana_discover_columns `` (list of strs, default _source) | |
70+ +--------------------------------------------------------------+ |
71+ | ``kibana_discover_from_timedelta `` (time, default: 10 min) | |
72+ +--------------------------------------------------------------+ |
73+ | ``kibana_discover_to_timedelta `` (time, default: 10 min) | |
74+ +--------------------------------------------------------------+ |
6175| ``use_local_time `` (boolean, default True) | |
6276+--------------------------------------------------------------+ |
6377| ``realert `` (time, default: 1 min) | |
@@ -510,6 +524,85 @@ This value is added in back of the event. For example,
510524
511525``kibana4_end_timedelta: minutes: 2 ``
512526
527+ generate_kibana_discover_url
528+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
529+
530+ ``generate_kibana_discover_url ``: Enables the generation of the ``kibana_discover_url `` variable for the Kibana Discover application.
531+ This setting requires the following settings are also configured:
532+
533+ - ``kibana_discover_app_url ``
534+ - ``kibana_discover_version ``
535+ - ``kibana_discover_index_pattern_id ``
536+
537+ ``generate_kibana_discover_url: true ``
538+
539+ kibana_discover_app_url
540+ ^^^^^^^^^^^^^^^^^^^^^^^
541+
542+ ``kibana_discover_app_url ``: The url of the Kibana Discover application used to generate the ``kibana_discover_url `` variable.
543+ This value can use `$VAR ` and `${VAR} ` references to expand environment variables.
544+
545+ ``kibana_discover_app_url: http://kibana:5601/#/discover ``
546+
547+ kibana_discover_version
548+ ^^^^^^^^^^^^^^^^^^^^^^^
549+
550+ ``kibana_discover_version ``: Specifies the version of the Kibana Discover application.
551+
552+ The currently supported versions of Kibana Discover are:
553+
554+ - `5.6 `
555+ - `6.0 `, `6.1 `, `6.2 `, `6.3 `, `6.4 `, `6.5 `, `6.6 `, `6.7 `, `6.8 `
556+ - `7.0 `, `7.1 `, `7.2 `, `7.3 `
557+
558+ ``kibana_discover_version: '7.3' ``
559+
560+ kibana_discover_index_pattern_id
561+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
562+
563+ ``kibana_discover_index_pattern_id ``: The id of the index pattern to link to in the Kibana Discover application.
564+ These ids are usually generated and can be found in url of the index pattern management page, or by exporting its saved object.
565+
566+ Example export of an index pattern's saved object:
567+
568+ .. code-block :: text
569+
570+ [
571+ {
572+ "_id": "4e97d188-8a45-4418-8a37-07ed69b4d34c",
573+ "_type": "index-pattern",
574+ "_source": { ... }
575+ }
576+ ]
577+
578+ You can modify an index pattern's id by exporting the saved object, modifying the ``_id `` field, and re-importing.
579+
580+ ``kibana_discover_index_pattern_id: 4e97d188-8a45-4418-8a37-07ed69b4d34c ``
581+
582+ kibana_discover_columns
583+ ^^^^^^^^^^^^^^^^^^^^^^^
584+
585+ ``kibana_discover_columns ``: The columns to display in the generated Kibana Discover application link.
586+ Defaults to the ``_source `` column.
587+
588+ ``kibana_discover_columns: [ timestamp, message ] ``
589+
590+ kibana_discover_from_timedelta
591+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
592+
593+ ``kibana_discover_from_timedelta ``: The offset to the `from ` time of the Kibana Discover link's time range.
594+ The `from ` time is calculated by subtracting this timedelta from the event time. Defaults to 10 minutes.
595+
596+ ``kibana_discover_from_timedelta: minutes: 2 ``
597+
598+ kibana_discover_to_timedelta
599+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
600+
601+ ``kibana_discover_to_timedelta ``: The offset to the `to ` time of the Kibana Discover link's time range.
602+ The `to ` time is calculated by adding this timedelta to the event time. Defaults to 10 minutes.
603+
604+ ``kibana_discover_to_timedelta: minutes: 2 ``
605+
513606use_local_time
514607^^^^^^^^^^^^^^
515608
0 commit comments