Ign*_*ind 2 logging elasticsearch kibana kibana-7
我已经使用此处建议的 .zip 文件夹在 Windows 10 上安装了 kibana
我已更新kibana.yml为存储日志,如下所示。

我也创建了日志文件夹。我也使用cmd重新启动了kibana。但日志文件中没有显示任何内容。
不知道我做错了什么。感谢潜在客户。
我已经在 Windows 10(版本 10.0.17763 Build 17763)中测试了它和 Kibana 7.9.2,并且日志记录工作正常。
重现步骤:
config\kibana.yml使用您喜欢的编辑器打开文件# Logs queries sent to Elasticsearch. Requires logging.verbose set to true.
elasticsearch.logQueries: true
# Enables you to specify a file where Kibana stores log output.
logging.dest: D:\kibana-7.9.2-windows-x86_64\logs\kibana.log
# Set the value of this setting to true to log all events, including system usage information
# and all requests.
logging.verbose: true
Run Code Online (Sandbox Code Playgroud)
powershellorcmd并导航到 kibana 目录PS D:\kibana-7.9.2-windows-x86_64> .\bin\kibana.bat{"type":"log","@timestamp":"2020-10-02T19:39:41Z","tags":["debug","server"],"pid":35608,"message":"setting up server"}
{"type":"log","@timestamp":"2020-10-02T19:39:41Z","tags":["debug","plugins-service"],"pid":35608,"message":"Discovering plugins"}
{"type":"log","@timestamp":"2020-10-02T19:39:41Z","tags":["debug","plugins-discovery"],"pid":35608,"message":"Discovering plugins..."}
{"type":"log","@timestamp":"2020-10-02T19:39:41Z","tags":["debug","plugins-discovery"],"pid":35608,"message":"Scanning \"D:\\kibana-7.9.2-windows-x86_64\\src\\plugins\" for plugin sub-directories..."}
{"type":"log","@timestamp":"2020-10-02T19:39:41Z","tags":["debug","plugins-discovery"],"pid":35608,"message":"Scanning
Run Code Online (Sandbox Code Playgroud)
PS:我已经用 verbose 进行了测试,但您可以选择其他日志级别(阅读文件中的说明kibana.yml)