Graph in Kibana is empty

Hello,
I've ingested two columns data in an elastic index. The values are related:

spi,ip
spi1,ip1
spi2,ip1
spi3,ip1
spi4,ip2
spi5,ip2
spi6,ip2

Nothing appears in the Kibana graph when choosing ip,sip as columns.
I'm newer in elastic_stack. Anybody could help me ?

Thanks,

Not sure what may be wrong with your approach but let me put the steps I used to replicate your example:

Create the index:

DELETE chart_test

PUT chart_test
{
  "mappings": {
    "properties": {
      "spi": { "type": "text" },
      "ip": { "type": "keyword" }
    }
  }
}

PUT _bulk
{ "index" : { "_index" : "chart_test", "_id" : "1" } }
{ "spi" : "sp1", "ip": "ip1" }
{ "index" : { "_index" : "chart_test", "_id" : "2" } }
{ "spi" : "sp2", "ip": "ip1" }
{ "index" : { "_index" : "chart_test", "_id" : "3" } }
{ "spi" : "sp3", "ip": "ip1" }
{ "index" : { "_index" : "chart_test", "_id" : "4" } }
{ "spi" : "sp4", "ip": "ip2" }
{ "index" : { "_index" : "chart_test", "_id" : "5" } }
{ "spi" : "sp5", "ip": "ip2" }

Create the Data View:

Create a bar chart plotting the count of ip:

Is this similar to what you tried? What is different?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.