jq parsing of url on get #937
rgraham7503
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi @rgraham7503 JQ here you mean the JSON Processor (https://stedolan.github.io/jq/)? At this time monika doesn't yet support piping i'm afraid. Or the jq plugin as an alert preprocessor. We're always open to any good PRs with interesting use cases however. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi just a question. Is there a way to use JQ inline with the GET request to pre-manipulate the response body? Example...I have a pretty complex one-liner JQ with arguments etc. works fine in shell on RHEL and MacOS...I was thinking, If I could use this in Monika and alert if the body contains "whatever" that would be way better than a shell script.
I tried it and it doesnt work...but curious if there is a way. I went through all my monika yamls and I dont see I have tried this before.
Beta Was this translation helpful? Give feedback.
All reactions