mattgodbolt / zindex

Create an index on a compressed text file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support a transforming in the indexer

mattgodbolt opened this issue · comments

In issue #12, it became clear that being able to transform the index before storing it would be very useful. For example, to make case consistent.

5aab30b may go some way to start this process. Now there's a -p/--pipe command so:

$ zindex ~/audit.log.gz -p 'jq --raw-output --unbuffered .eventId'

works, for example.