Forum Discussion
Skeer
Neophyte
Oh wait! I lied!
I have a rule that's sending a web request to LM that ACK's an alert that's using a var in the url.. but it's not a filter query.
https://xxxx.logicmonitor.com/santaba/rest/alert/alerts/{{LMalertID}}
Stuart_Weenig
12 days agoLegend
Yeah, that's not a filter but a direct call to the lmalertid.
When you construct the query parameters:
filter=name:"{{deviceHostname}}*"
The part after the equals sign needs to be URI encoded (after the deviceHostname variable is resolved). The colon and tilde are probably fine because they don't really change, but the quotes and start would need to be url encoded. So, you might get away with encoding it manually since don't need to change the name.
filter=name:%22{{deviceHostname}}%2A%22