santthosh / aws-es-kibana

AWS ElasticSearch Kibana Proxy
Apache License 2.0
323 stars 134 forks source link

Error: request entity too large #31

Closed apremalal closed 7 years ago

apremalal commented 7 years ago

I'm getting the following error. Is there a way to increase the request size?

Error: request entity too large
    at readStream (/app/node_modules/raw-body/index.js:196:17)
    at getRawBody (/app/node_modules/raw-body/index.js:106:12)
    at read (/app/node_modules/body-parser/lib/read.js:76:3)
    at rawParser (/app/node_modules/body-parser/lib/types/raw.js:81:5)
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/app/node_modules/express/lib/router/index.js:317:13)
    at /app/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/app/node_modules/express/lib/router/index.js:335:12)
    at next (/app/node_modules/express/lib/router/index.js:275:10)
    at compression (/app/node_modules/compression/index.js:220:5)
jayhilden commented 7 years ago

I'm getting the same error on the kibana page after I set the default index

jayhilden commented 7 years ago

if you're running this through docker (like I am) add the following parameter:

-e LIMIT=1000kb
blakeyoder commented 7 years ago

Hi there @apremalal - this fix was merged upstream via https://github.com/santthosh/aws-es-kibana/pull/22

apremalal commented 7 years ago

Thanks @blakeyoder appreciate it very much.