Hey guys,
I got a few questions that I encountered when trying to setup alerts and actions.
We're on the Elasticsearch as a Service (Managed) solution.
Question 1 -
I'm following Defining alerts | Kibana Guide [7.x] | Elastic to define alerts, and I want to display a link back to the alert in the message. However, {{kibanaBaseUrl}} is empty.
Based on Configure Kibana | Kibana Guide [7.x] | Elastic it probably means that server.publicBaseUrl
is not populated.
First, I would expect the managed elasticsearch to have this populated, and second, I tried editing it in the kibana.yml
in the management console but I got an error: "Your changes cannot be applied. Kibana - 'server.publicBaseUrl': is not allowed".
Question 2 -
I tried placing newlines ("\n" ) inside a JSON field in the body of a webhook action, but it got messed up. How can create new lines in JSON messages?
Question 3 -
I'm trying to close an alert in Opsgenie after the alert was recovered, and this requires setting a variable URL (.../alerts/close/{{alertId}}) but I suspect mustache variables are not populated in webhook URLs. How can this be solved?
Question 4 -
Is there a way to troubleshoot why alerts are firing off?
I have an alert that is configured to alert for every unique value of a field, and it is firing for instance *
(star), but that's not a value of the field. I suspect it's a bug on your side?
Thanks a lot in advance, expecting to hear from you soon so we can get this alerting solution to a "production-ready" level,
Ilai