sensu / sensu-check-log

The Sensu Go log file monitoring check plugin and asset.
MIT License
2 stars 3 forks source link

Track file offset for each matching log line, and output as result json #28

Closed jspaleta closed 3 years ago

jspaleta commented 3 years ago

Adjusting how the analyzer is implemented so that file offset for each matching line is tracked.

This is useful for when log file has non-unique matching log lines as you can use the byte offset information to seek to the specific matching line in the log file.