Skip to content

Navigation Menu

Sign in
Sign up

pipe ability #214

kmelchinger started this conversation in Ideas
Mar 4, 2025 · 1 comments · 4 replies
Discussion options

I would like to use lovely very useful chainsaw in a pipe e.g. cat windows_eventlog.json | chainsaw hunt. Does this make sense to you?

You must be logged in to vote

Replies: 1 comment 4 replies

Comment options

Hey @kmelchinger

Chainsaw doesn't support STDIN as an input option. You can just load the JSON file as a direct input into chainsaw though, instead of pushing it through cat and |.

You must be logged in to vote
4 replies
Comment options

Frank, thanx for the quick answer. Even if it has got the wrong non-eventlog extension ?. I know that at the moment STDIN is not implemented but could guess that it could be very useful for other pipe usage ;-).

Comment options

Yeah, by default chainsaw will load the following file extensions for EVTX files:

  • .json
  • .jsonl
  • .xml
  • .evt
  • .evtx

Beyond that, you can also pass the --load-unknown flag and it will load the file and attempt to identify if the contents is an event log, MFT, etc.

Comment options

Ack on the pipe usage. I'll bare it in mind in case we get more requests for it :)

Comment options

Hopefully not only me will love it. Everything is a stream/pipe... with endless opportunities....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /