Kibana - 如何将日志显示为表格 [英] Kibana - How to display log as table

查看:42
本文介绍了Kibana - 如何将日志显示为表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一个项目测试 Kibana 4.

I'm testing Kibana 4 for a project.

我从我的数据库表中创建了一个索引,该索引由 3 个字段组成:

I have created an index from my database table which is composed by 3 fields:

  1. 日期
  2. 用户
  3. 行动

我想在仪表板中将我的索引显示为一个简单的表格(3 列,N 行).

I would like to display my index as a simple table (3 column, N rows) in my dashboard.

我尝试使用数据表"可视化,但我找不到一种方法来显示没有任何指标(计数、总和等)的结果

I tried to use "Data table" visualization but I can't find a way to display my results without any Metrics (Count, Sum etc...)

也许很简单,我错过了一些东西......有没有办法做到这一点?

Maybe is pretty simple and I missed something... is there a way to do this?

问候,

推荐答案

在发现"选项卡上,创建一个仅包含所需字段的视图,然后将其保存为搜索.

On the Discover tab, create a view that has just the fields you want and then save that as a search.

在仪表板选项卡上,单击编辑,然后点击 + 创建新 按钮以添加小部件,但如果您查看顶部,则会有一个搜索选项卡.选择它并添加您保存的搜索.

On the Dashboard tab, click on Edit then hit the + Create new button to add a widget, but if you look at the top, there's a Searches tab. Select that and add your saved search in.

这篇关于Kibana - 如何将日志显示为表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆