How to use Ctx Variable to access the source fields in Kibana

(shashank) #1

Ok so what I want is alerting in Kibana so I was designing the message in Kibana that will be received in NIFI, now I want some source field data (_source) present inside json but how to access it using ctx (Context) variable.

Below is the snapshot of Alerting Message:

I want to access the "" variable in the message.
I tried the following solution but nothing went good for me:

  • {{}}
  • {{}}

If there is any another way I will be happy to know that.
Thanks in Advance.