File-input , how to add file offset as a new field

I have smillar question as this one, need the offset to maintain the log order (which logs happen at same timestamp)

Thanks

There is an open issue in the file input plugin repository around this, so it is currently not possible. Filebeat can however already provide this, so you may want to consider using it as a collector.

Thanks, I notice that issue. I will try patch way for workaround - don't want to involve another components into system, as a logs shipment way, rsyslog is really good enough.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.