Skip to content

Commit

Permalink
Add kibana dashboard button to incident response
Browse files Browse the repository at this point in the history
  • Loading branch information
Naresh committed Jul 1, 2020
1 parent 08b595d commit 9fecd34
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions elastalert_modules/slack_custom_alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ def alert(self, matches):
"type":"actions",
"block_id": "alarm_action",
"elements":[
{
"type":"button",
"text":{
"type":"plain_text",
"emoji":True,
"text":"View Kibana Dashboard"
},
"style":"primary",
"url":"https://elk.it.logitech.com:5601/app/kibana#/dashboard/35aa4fd0-b0b3-11ea-833d-fde9206e58f3?_g=(filters%3A!()%2CrefreshInterval%3A(pause%3A!t%2Cvalue%3A2000)%2Ctime%3A(from%3Anow-15d%2Cto%3Anow))"
},
{
"type":"button",
"text":{
Expand Down

0 comments on commit 9fecd34

Please sign in to comment.