Thanks for your reply. This is what exactly showing in the Kibana logs.
{"type":"error","@timestamp":"2019-11-15T07:51:32Z","tags":,"pid":----,"level":"error","error":{"message":"Uncaught error: Expected originalHeaders to be an object, but object given","name":"Error","stack":"Error: Uncaught error: Expected originalHeaders to be an object, but object given
at setHeaders (C:\kibana-6.4.1-windows-x86_64\src\core_plugins\elasticsearch\lib\set_headers.js:32:11)
at getConfigForReq (C:\kibana-6.4.1-windows-x86_64\src\core_plugins\console\index.js:91:53)
at handler (C:\kibana-6.4.1-windows-x86_64\src\core_plugins\console\server\proxy_route.js:113:11)
at Object.internals.handler (C:\kibana-6.4.1-windows-x86_64\node_modules\hapi\lib\handler.js:96:36)
at Items.serial (C:\kibana-6.4.1-windows-x86_64\node_modules\hapi\lib\handler.js:63:26)
at done (C:\kibana-6.4.1-windows-x86_64\node_modules\items\lib\index.js:31:25)
at done (C:\kibana-6.4.1-windows-x86_64\node_modules\items\lib\index.js:63:25)
at pre (C:\kibana-6.4.1-windows-x86_64\node_modules\hapi\lib\handler.js:52:24)
at finalize (C:\kibana-6.4.1-windows-x86_64\node_modules\hapi\lib\handler.js:281:20)
at wrapped (C:\kibana-6.4.1-windows-x86_64\node_modules\hoek\lib\index.js:879:20)
at module.exports.internals.Response.internals.Response._processPrepare (C:\kibana-6.4.1-windows-x86_64\node_modules\hapi\lib\response.js:521:16)
at module.exports.internals.Response.internals.Response._prepare (C:\kibana-6.4.1-windows-x86_64\node_modules\hapi\lib\response.js:460:21)
at process.nextTick (C:\kibana-6.4.1-windows-x86_64\node_modules\hapi\lib\reply.js:152:22)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)"},"url":{"protocol":null,"slashes":null,"auth":null,"host":null,"port":null,"hostname":null,"hash":null,"search":"?path=_search&method=POST","query":{"path":"_search","method":"POST"},"pathname":"/api/console/proxy","path":"/api/console/proxy?path=_search&method=POST","href":"/api/console/proxy?path=_search&method=POST"},"message":"Uncaught error: Expected originalHeaders to be an object, but object given"}