Created
March 3, 2021 20:11
-
-
Save kylebrandt/c8f0811ec5ea36e4e81153a80327bccc to your computer and use it in GitHub Desktop.
evalOld using copy of settings column (jq/curl)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xclip -o -selection clipboard | jq '.conditions | { "conditions": . }' | curl -H 'Content-Type: application/json' -X POST --data-binary @- http://admin:admin@localhost:3000/api/alert-definitions/evalOld | jq -r '.instances[0]' | base64 -d > ~/tmp/af && arrow-cat ~/tmp/af |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment