I would like to hook into Filebeat once it has a handle on a new file. I think what I need is to create my own
reader that is
tsv.go (tab separated value) and implement the Reader interface?
The reason I want to do this is that the log files I am parsing have a header that can change a lot and explains how to parse the file field name/types etc.
From what I can see in the code that would allow me to define what the
Next() method would output for
Does that sound right or am I completely lost?