kibana_discover_url Variable #211
-
Hi all, I'm not 100% sure how to add the I read the documentation here https://elastalert2.readthedocs.io/en/latest/ruletypes.html#generate-kibana-discover-url but obviously missing something obvious. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
According to yelp / elastalert's past pull requests, it looks like this: Adding support for generating Kibana Discover app link #2474 name: Frequent Responses
index: kibana_sample_data_logs
timestamp_field: "timestamp"
timestamp_type: "custom"
timestamp_format: "%Y-%m-%dT%H:%M:%S.%fZ"
type: frequency
num_events: 3
timeframe:
minutes: 10
query_key: response
generate_kibana_discover_url: true
kibana_discover_app_url: http://localhost:5601/#/discover
kibana_discover_version: '6.8'
kibana_discover_index_pattern_id: 90943e30-9a47-11e8-b64d-95841ca0b247 # specific to my instance
kibana_discover_columns: [ 'message', 'request', 'response' ]
alert: [ debug ]
alert_text: '{0}'
alert_text_args: [ kibana_discover_url ]
alert_text_type: alert_text_only Adding ability to specify opsgenie alert details #2489 |
Beta Was this translation helpful? Give feedback.
-
Thank you for the detailed response. I was able to generate the URL and can see it in debug, but just can't use the URL anywhere besides Opsgenie and Slack. I'm still unsure how I can add the |
Beta Was this translation helpful? Give feedback.
According to yelp / elastalert's past pull requests, it looks like this:
Adding support for generating Kibana Discover app link #2474