Kibana - How to display log as table

核能气质少年 提交于 2019-11-27 09:47:38

问题


I'm testing Kibana 4 for a project.

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

  1. Date
  2. User
  3. Action

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?

Regards,


回答1:


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, hit the + 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.




回答2:


[Elastic 7.x / 2019 Update]

I was a bit confused when I read @Alcanzar's answer so I am sharing a little more noob-friendly step-by-step how-to here :

  • STEP 1 : Create the Index Pattern

  • STEP 2 : Go to the Dashboard view, and create a view on your index
    Select each column you want to include/add in your view by clicking "add" on it (The confusing part is that until you do that, you will have a "scrambled" view listing everything in a jumbled way.)

  • STEP 3 : Go to the Dashboard view, and create a view on your index

The trick is to select the specific columns you want to include... and voila !
Don't forget to save your view, this will help a lot in the process.



来源:https://stackoverflow.com/questions/29671524/kibana-how-to-display-log-as-table

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!