I really don't like Splunk documentation. Why is it so hard to find out how to do a certain action? So this is a cheatsheet that I constructed to help me quickly gain knowledge that I need.
index="my_log"
Syntax: cat <filename> | jq -c '.[] | select( .<key> | contains("<value>"))'
Example: To get json record having _id equal 611
cat my.json | jq -c '.[] | select( ._id | contains(611))'Remember: if JSON value has no double quotes (eg. for numeric) to do not supply in filter i.e. in contains(611)
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| Subject: Jenkins ${BUILD_STATUS} [#${BUILD_NUMBER}] - ${PROJECT_NAME} | |
| Content Type: Plain Text (text/plain) | |
| Trigger for matrix projects: Trigger for each configuration | |
| Choose "Advanced", "Add a Trigger" and choose the following triggers: | |
| Fixed, Failure, Unstable, Still Failing, Still Unstable | |
| Ensure that "Send To Recipient List" is checked for all of these at the very least. | |
| Fixed is the only trigger you will need to expand to change the Content. |