elasticsearch.logQueries 对 kibana 配置没有影响
elasticsearch.logQueries no effect in kibana config
我正在尝试记录来自 kibana 的所有查询。所以我编辑了 config/kibana.yml
并添加了以下行:
logging.dest: /tmp/test.log
logging.silent: false
logging.quiet: false
logging.verbose: true
elasticsearch.logQueries: true
然后我重启了kibana,查询了一些东西。
现在开始出现日志,但是只记录访问日志,没有ES查询。
{
"type": "response",
"@timestamp": "2018-08-21T02:41:03Z",
"tags": [],
"pid": 28701,
"method": "post",
"statusCode": 200,
"req": {
"url": "/elasticsearch/_msearch",
"method": "post",
"headers": {
...
},
"remoteAddress": "xxxxx",
"userAgent": "xxxxx",
"referer": "http://xxxxxxx:8901/app/kibana"
},
"res": {
"statusCode": 200,
"responseTime": 62,
"contentLength": 9
},
"message": "POST /elasticsearch/_msearch 200 62ms - 9.0B"
}
有什么想法吗?我正在使用 ELK 6.2.2.
Kibana 6.3 中引入了 elasticsearch.logQueries
设置,可以在 pull request
中看到
我正在尝试记录来自 kibana 的所有查询。所以我编辑了 config/kibana.yml
并添加了以下行:
logging.dest: /tmp/test.log
logging.silent: false
logging.quiet: false
logging.verbose: true
elasticsearch.logQueries: true
然后我重启了kibana,查询了一些东西。
现在开始出现日志,但是只记录访问日志,没有ES查询。
{
"type": "response",
"@timestamp": "2018-08-21T02:41:03Z",
"tags": [],
"pid": 28701,
"method": "post",
"statusCode": 200,
"req": {
"url": "/elasticsearch/_msearch",
"method": "post",
"headers": {
...
},
"remoteAddress": "xxxxx",
"userAgent": "xxxxx",
"referer": "http://xxxxxxx:8901/app/kibana"
},
"res": {
"statusCode": 200,
"responseTime": 62,
"contentLength": 9
},
"message": "POST /elasticsearch/_msearch 200 62ms - 9.0B"
}
有什么想法吗?我正在使用 ELK 6.2.2.
Kibana 6.3 中引入了 elasticsearch.logQueries
设置,可以在 pull request