How to make visualization on kibana


(Kazuhide Ota) #1

Hello, I'm KO.
I have one question about function making graph on kibana.

I registered the following index and data.

[ec2-user@ip-10-0-0-240 stats]$ curl -XGET http://localhost:9200/test1/test/1
{"_index":"test1","_type":"test","_id":"1","_version":1,"found":true,"_source":{ "%CPU" : 21, "%MEM" : 0.1, "COMMAND" : "/bin/bash" }}
[ec2-user@ip-10-0-0-240 stats]$ curl -XGET http://localhost:9200/test1/test/3
{"_index":"test1","_type":"test","_id":"3","_version":1,"found":true,"_source":{ "%CPU" : 52, "%MEM" : 5, "COMMAND" : "/matome.sh" }}
[ec2-user@ip-10-0-0-240 stats]$ curl -XGET http://localhost:9200/test1/test/2
{"_index":"test1","_type":"test","_id":"2","_version":1,"found":true,"_source":{ "%CPU" : 100, "%MEM" : 20, "COMMAND" : "/java" }}

Each element type is
・%CPU:number
・%MEM:number
・COMMAND:string

Howerver, if I make graph on kibana, kibana displayed "No results found"...
How can I solve this problem?

Best regards,
KO


(Shaunak Kashyap) #2

Hi KO,

Can you share a screenshot of the entire Visualize page (that is, the page where you are trying to create your graph and seeing the "No results found" message)?

Thanks,

Shaunak


(Kazuhide Ota) #3

Hi shaunak, thank you for your reply!

These are index and graph.
This graph is the count of row.

Best regards,
Kazuhide Ota


(Shaunak Kashyap) #4

Thanks for the screenshots. In the Visualize editor, you will need to choose a bucket type, either "Split Rows" or "Split Table". If you tell me what you would like to see in the graph in the end result, I can give you more detailed steps.


(system) #5