kibana版本7.2 es版本7.2
Basic许可
遇到2个问题:
1,在discover中 选定一个已保存的搜索,导出csv, 当该搜索名中有中文的时候.点击下载会出现500错误.kibana日志如下
2, 在可视化中,选择下载csv,下载的都是txt文件.
Basic许可
遇到2个问题:
1,在discover中 选定一个已保存的搜索,导出csv, 当该搜索名中有中文的时候.点击下载会出现500错误.kibana日志如下
{"type":"error","@timestamp":"2019-07-18T03:28:44Z","tags":[],"pid":100861,"level":"error","error":{"message":"Invalid character in header content [\"content-disposition\"]","name":"TypeError [ERR_INVALID_CHAR]","stack":"TypeError [ERR_INVALID_CHAR]: Invalid character in header content [\"content-disposition\"]\n at ServerResponse.setHeader (_http_outgoing.js:473:3)\n at Object.internals.writeHead (/usr/share/kibana/node_modules/hapi/lib/transmit.js:323:21)\n at Object.internals.transmit (/usr/share/kibana/node_modules/hapi/lib/transmit.js:105:15)\n at Object.exports.send (/usr/share/kibana/node_modules/hapi/lib/transmit.js:32:25)\n at process._tickCallback (internal/process/next_tick.js:68:7)","code":"ERR_INVALID_CHAR"},"url":{"protocol":null,"slashes":null,"auth":null,"host":null,"port":null,"hostname":null,"hash":null,"search":null,"query":{},"pathname":"/api/reporting/jobs/download/jy841q6625tp2db7754epsuz","path":"/api/reporting/jobs/download/jy841q6625tp2db7754epsuz","href":"/api/reporting/jobs/download/jy841q6625tp2db7754epsuz"},"message":"Invalid character in header content [\"content-disposition\"]"}
2, 在可视化中,选择下载csv,下载的都是txt文件.
2 个回复
medcl - 今晚打老虎。
赞同来自: luohuanfeng 、laoyang360
medcl - 今晚打老虎。
赞同来自:
CSV 就是普通的文本类型,只不过是用,分割的。