Hi all
I have configured logstash-opsgenie integration as per documentation at : https://docs.opsgenie.com/docs/logstash-integration
after restarting logstash, I get the below
[2019-03-11T11:18:57,780][WARN ][logstash.outputs.opsgenie] No opsgenie action defined
[2019-03-11T11:18:57,780][INFO ][logstash.outputs.opsgenie] processing 2019-03-11T11:17:28.262Z host1 %{message}
[2019-03-11T11:18:57,780][WARN ][logstash.outputs.opsgenie] No opsgenie action defined
[2019-03-11T11:18:57,780][INFO ][logstash.outputs.opsgenie] processing 2019-03-11T11:17:16.941Z host1 %{message}
This is my alert config under filter plugin
if [message] =~ /.*InfluxDB.*/ {
mutate{
add_field => {
"opsgenieAction" => "create"
"alias" => "influxDB"
"description" => "influx error messages"
"tags" => "influxdb"
}
}
}
And the output :
output {
opsgenie {
"apiKey" => "logstash_integration_api_key"
}
}
replaced logstash_integration_api_key with opsgenie key
Am i missing something?
I thought this(below) is defining an action, to create the alert.
add_field => {
"opsgenieAction" => "create"
Please advise.