sipcapture/homer-docker

error in the template Grafana

Closed this issue · 2 comments

Hello. Found an error in the template Grafana. In expr, need to remove a space at the end of the term.

"expr": "{job=\"heplify-server\", src_ip=~\"$src_ip\", dst_ip=~\"$dst_ip\"} | response=~\"$method\" or type!=\"sip\" |~ `${search:raw}` | regexp \"Call-ID:\\s+(?<callid>.+?\r\n)\"",

"expr": "{job="heplify-server", src_ip="$src_ip", dst_ip="$dst_ip"} | response="$method" or type!="sip" | ${search:raw} | regexp "Call-ID:\s+(?.+?\r\n)"",

needs replace to

"expr": "{job="heplify-server", src_ip="$src_ip", dst_ip="$dst_ip"} | response="$method" or type!="sip" | ${search:raw} | regexp "Call-ID:\s+(?.+?)"",

I believe I have this covered in a PR

Fixed by @tony1661