Created
September 13, 2019 14:10
-
-
Save emilioSp/b06c4d887728d6f17232d0192ef89ffd to your computer and use it in GitHub Desktop.
jq where filters
This file contains 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
cat test.json | jq 'select(.level | contains("error"))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment