I have using Kapacitor to raise alerts, which I want to send using post handler.
Following is the format of alert I am getting:
"data":{"series":[{"name":"alert_name","tags":{"tag1":"1153","_field":"field_name","tag2":"153","tag3":"lab153-1153","tag4":"6.5"},"columns":["time","_value"],"values":[["2022-08-16T03:00:00Z",28.57]]}]},"previousLevel":"CRITICAL","recoverable":true}
Issue here is I am getting “columns” array, and I want to template such that I only get _value inside columns and similarily inside values only value should be there. I tried using alert template but no progress.