Last active
November 10, 2021 09:10
-
-
Save philippreston/1be530df004d305fe42523ffa8dc4a50 to your computer and use it in GitHub Desktop.
JQ Search and Convert NanoSecond Epoch
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
cat /audited_events.json | jq -c '. | select((.type | contains("ARP")) and .metadata.ip_addr == "10.2.2.61") | (.timestamp /= 1000000000) | (.timestamp |= todate)' > arp_10.2.2.61.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment