I have the following configuration inside the match section. I can see the compressed file in the specified path, but nothing gets sent to Kinesis (in contrast, data get sent to Kinesis without this buffer section). If this is expected behavior, it should be clearly documented in README. If it's not, it should get fixed.
Seems Kinesis plugin is not able to handle gzip data correctly.
But the files in the specified path (/var/log/td-agent/buffer) indeed don't have the usual .gz extension. I can't uncompress them with gzip command. They somehow come in pairs like this:
-rw-r--r-- 1 td-agent td-agent 301552 Jun 27 00:24 buffer.q56f94a2ff6fbc7a508d7af4c05542021.log
-rw-r--r-- 1 td-agent td-agent 66 Jun 27 00:24 buffer.q56f94a2ff6fbc7a508d7af4c05542021.log.meta
-rw-r--r-- 1 td-agent td-agent 419055 Jun 27 00:25 buffer.q56f94a6a1d3cc39a52b39268a14cbf4d.log
-rw-r--r-- 1 td-agent td-agent 66 Jun 27 00:25 buffer.q56f94a6a1d3cc39a52b39268a14cbf4d.log.meta
-rw-r--r-- 1 td-agent td-agent 433263 Jun 27 00:26 buffer.q56f94aa4529da96ae55d8cf06f1de3f8.log
-rw-r--r-- 1 td-agent td-agent 66 Jun 27 00:26 buffer.q56f94aa4529da96ae55d8cf06f1de3f8.log.meta
-rw-r--r-- 1 td-agent td-agent 421523 Jun 27 00:27 buffer.q56f94ade769fa80076689762cb5304a7.log
-rw-r--r-- 1 td-agent td-agent 66 Jun 27 00:27 buffer.q56f94ade769fa80076689762cb5304a7.log.meta
-rw-r--r-- 1 td-agent td-agent 431826 Jun 27 00:28 buffer.q56f94b18a64f3c1e5b8d41d23e0bb4f0.log
-rw-r--r-- 1 td-agent td-agent 66 Jun 27 00:28 buffer.q56f94b18a64f3c1e5b8d41d23e0bb4f0.log.meta
-rw-r--r-- 1 td-agent td-agent 90776 Jun 27 00:29 buffer.q56f94b52e34863822fa2d1eb8dbcc23a.log
-rw-r--r-- 1 td-agent td-agent 65 Jun 27 00:29 buffer.q56f94b52e34863822fa2d1eb8dbcc23a.log.meta
-rw-r--r-- 1 td-agent td-agent 23088 Jun 27 00:42 buffer.q56f94e43414d1128b1cfa901c22cdb4e.log
-rw-r--r-- 1 td-agent td-agent 64 Jun 27 00:42 buffer.q56f94e43414d1128b1cfa901c22cdb4e.log.meta
-rw-r--r-- 1 td-agent td-agent 8265 Jun 27 00:43 buffer.q56f94e7d770c5204e4cbffa3c4f7f2d8.log
-rw-r--r-- 1 td-agent td-agent 64 Jun 27 00:43 buffer.q56f94e7d770c5204e4cbffa3c4f7f2d8.log.meta
-rw-r--r-- 1 td-agent td-agent 381 Jun 27 00:47 buffer.q56f94f662face0adfa2ecfd882b39f6a.log
-rw-r--r-- 1 td-agent td-agent 64 Jun 27 00:47 buffer.q56f94f662face0adfa2ecfd882b39f6a.log.meta
I have the following configuration inside the
match
section. I can see the compressed file in the specified path, but nothing gets sent to Kinesis (in contrast, data get sent to Kinesis without thisbuffer
section). If this is expected behavior, it should be clearly documented in README. If it's not, it should get fixed.Here are the error messages in
td-agent.log
:Seems Kinesis plugin is not able to handle gzip data correctly.
But the files in the specified path (
/var/log/td-agent/buffer
) indeed don't have the usual.gz
extension. I can't uncompress them withgzip
command. They somehow come in pairs like this:Any insight is much appreciated! Tony