Created
October 29, 2014 23:56
-
-
Save dcode/afb3f21c0dd5801ad540 to your computer and use it in GitHub Desktop.
bro log to pipe separated values (PSV) w/ camelcase headers
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
| bro-cut -uc -F'|' | grep -E '^#fields|^2014' | sed 's/^#fields|//' | sed -e '1s/\./_/g' -e '1s/_\([a-z]\)/\u\1/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment