Hello,
I am attempting to create a monitor in Kibana using the "Define using extraction query" option.
However I am struggling to form the query.
I am trying to monitor the last hour of logs, and look for the field "action.keyword" where value = "BLOCK".
From looking at the script that is created from the "Define using visual graph" I believe I have found how to look at the past hour:
"filter": [
{
"range": {
"timestamp": {
"from": "{{period_end}}||-1h",
"to": "{{period_end}}",
"include_lower": true,
"include_upper": true,
"format": "epoch_millis",
"boost": 1
}
}
}
],
However I am unsure how to then look only at "action.keyword", and then only "BLOCK" values for that.
Could someone please let me know what parameters I should be using here?
Thanks