假设有如下查询:
.es(
q="com.aliyun.datahub.client.exception.DatahubClientException",
index=logstash-*,
split=appName:10,
split=serverName:10,
timefield=timestamp
)
.bars()
假设有如下查询:
.es(
q="com.aliyun.datahub.client.exception.DatahubClientException",
index=logstash-*,
split=appName:10,
split=serverName:10,
timefield=timestamp
)
.bars()
尝试了两种方式,这篇博客里的相对简单些。
创建 kibana.service 文件
vim /lib/systemd/system/kibana.service