Open affinity226 opened 8 years ago
You need to provide a test case demonstrating the issue. We use LogstreamerInput plugins and rely on Heka's journaling functionality, and we've had no issues with it. So the problem is probably related to the specific configuration you use.
post toml configuration file :
[test_input]
type = "LogstreamerInput"
log_directory = "/home/jiwoncha/LOG"
file_match = 'log(?P
[test_decoder]
type = "PayloadRegexDecoder"
match_regex = '^(?P
[test_decoder.message_fields] Type = "TestLogFile" Payload = "Message"
[test_encoder] Type = "PayloadEncoder" Append_newlines = true
[RstEncoder]
[test_output] type = "FileOutput" message_matcher = "Logger == 'test_input'" path = "/home/jiwoncha/out.txt" encoder="test_encoder" perm = "666" flush_count = 100 flush_operator = "OR"
The LogstreamerInput plugin will replay log data on every restart. also, the seek point in journal file is just 0, it doesn't change.