No, LogstreamerInput doesn't currently let you know when it has moved from one file to the next, it abstracts the entire log stream into a single logical entity.
There may be a workaround that would solve your problem, but unfortunately I don't understand what it is you're trying to accomplish; I think we have a bit of language barrier. -r On 04/14/2015 10:17 PM, 혀라기 wrote:
Hello I want to make new plugin that can parse the file (this file have gzipped log binary) I don't know how long that file size so I need current stream include file first or not. if first I should parse with header, or not I read until record size that I know from header What I want to know is, Can I know new file started or not in Logstream? I want to get that infomation in plugin (input, splitter or anyone) As I know Only splitter(FindRecord) can get next record until I want (if smaller than MAX) and seek Best regards, Yeaji Shin _______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

