I was using kibana watcher for monitoring and alerts. In Watcher i have used the user defined variable in the condition script(painless script) and it is working fine. Is there any ways i can use a variable in http request query using user defined variable for a match phrase.
Sample:
"query": {
"match" : {
"message" : "this is a test"
}
}
Expectation:
"query": {
"match" : {
"message" : user defined variable
}
}