Background Image

Blog Post

413 Request Entity Too Large
May 22

413 Request Entity Too Large


當你在 filebeat 的log 內, 發現有量的 
413 Request Entity Too Large: {"Message":"Request size exceeded 10485760 bytes"}

解法
在你的 filebeat.yml 內加入 
output.elasticsearch:
      bulk_max_size: 20
      bulk_max_bytes: 10485760

在其它的  inputs.d/*.yml 內加入 
- type: log
  paths:
    -  '/var/log/xxxxxx.log'
  max_bytes: 900000

Back   
 
We're sorry. New comments are no longer being accepted.
1 person will be notified when a comment is added.
Would you like to be notified when a comment is added?
Please login or register first.