Skip to content

Instantly share code, notes, and snippets.

@epcim
Last active May 20, 2019 21:26
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epcim/e488af8be69b616eab3088a14a937e14 to your computer and use it in GitHub Desktop.
Save epcim/e488af8be69b616eab3088a14a937e14 to your computer and use it in GitHub Desktop.
salt states trends jq yq
@epcim
Copy link
Author

epcim commented Aug 1, 2018

To display failing state use:

jq -r 'to_entries|map(select(.value.failed >0))|from_entries' trend_2018-08-01-1533128841.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment