Created
March 18, 2022 12:21
-
-
Save wh13371/284912960b1bf7eca98e74cbc4c01277 to your computer and use it in GitHub Desktop.
use jq to delete data from a .har file
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 my.har | jq 'del(.log.entries[].response.content.text)' | jq 'del(.log.entries[].request.headers[])' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment