-
Notifications
You must be signed in to change notification settings - Fork 528
About ElasticSearch OutPut pack can't pack.Recycle . #1938
Comments
For some reason, hekad can't send data to ES (probably a network issue) so I would recommend to look into the ES logs too or use tcpdump on tcp port 9200. Since you configure the 'block' policy for the buffering, the Heka pipeline gets stuck when the output plugin has filled the local buffer. Hence the idle packs errors. Next time, please use the mailing list ([email protected]) for such request. |
I checked network . network is fine . the cache data has send to ES . I check ES data. find cache data into . |
We use a similar configuration with buffering in our environment and everything works fine for us. What's in your checkpoint.txt file for the Elasticsearch output cache directory? |
this is my checkpoint.txt file. root@heka:/var/cache/hekad/output_queue/ElasticSearchOutput# ll thanks for your help |
Hi.
my log:
2016/05/20 05:26:05 Diagnostics: 1 packs have been idle more than 120 seconds.
2016/05/20 05:26:05 Diagnostics: (input) Plugin names and quantities found on idle packs:
2016/05/20 05:26:05 Diagnostics: ElasticSearchOutput: 1
2016/05/20 05:26:05
2016/05/20 05:26:35 Diagnostics: 1 packs have been idle more than 120 seconds.
2016/05/20 05:26:35 Diagnostics: (input) Plugin names and quantities found on idle packs:
2016/05/20 05:26:35 Diagnostics: ElasticSearchOutput: 1
2016/05/20 05:26:35
2016/05/20 05:27:05 Diagnostics: 1 packs have been idle more than 120 seconds.
2016/05/20 05:27:05 Diagnostics: (input) Plugin names and quantities found on idle packs:
2016/05/20 05:27:05 Diagnostics: ElasticSearchOutput: 1
2016/05/20 05:27:05
2016/05/20 05:27:35 Diagnostics: 1 packs have been idle more than 120 seconds.
2016/05/20 05:27:35 Diagnostics: (input) Plugin names and quantities found on idle packs:
2016/05/20 05:27:35 Diagnostics: ElasticSearchOutput: 1
2016/05/20 05:27:35
my hekad version :
heka_0.10.0_amd64.deb
my hekad configre:
[ElasticSearchOutput]
message_matcher = "Type =~ /gunicorn.*/"
server = "http://192.168.1.12:9200"
flush_interval = 200
flush_count = 100
encoder = "ES_Encoder"
use_buffering = true
http_disable_keepalives = true
[ElasticSearchOutput.buffering]
full_action = "block"
max_buffer_size = 209715200 #200m
cursor_update_count = 1000
The input have 400M size file.
when hekad LogstreamerInput was complete text file. so cache dir was full and some record send to ES
I wait some time .I see heka dashboard just has ok. but cache dir don't reduce
root@lairdnote:/var/log# du -hs /var/cache/hekad/
205M /var/cache/hekad/
I think this is ESOutput issue .
The text was updated successfully, but these errors were encountered: