Hello,
On Data Table visualization I am receiving error "No Compatible Fields: The "sodhk2" index pattern does not contain any of the following field types: number, boolean, date, ip or string ".
I have following index pattern (mapping is created by curl xput message and assigned to Kibana on Browser with "Configure an index pattern" Wizard). Any help is appreciated:
~/scripts> curl -get http://localhost:9200/sodhk2?pretty=true
{
"sodhk2" : {
"aliases" : { },
"mappings" : {
"test" : {
"properties" : {
"BC" : {
"type" : "long"
},
"EOD1" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
..
..
"EOD1 msg sent" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"SOD-HK Sent to mdf Soll (GMT)" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"SODHK received HPS" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
}
}
}
},
"settings" : {
"index" : {
"creation_date" : "1494571443935",
"number_of_shards" : "5",
"number_of_replicas" : "1",
"uuid" : "YjPCLRJ3QymHApYg21hkYQ",
"version" : {
"created" : "5040099"
},
"provided_name" : "sodhk2"
}
}
}
}
I have also doc entries applied to kibana by curl xpost command:
:~/scripts> curl -XGET http://localhost:9200/sodhk2/_search?size=1
{"took":0,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":103,"max_score":1.0,"hits":[{"_index":"sodhk2","_type":"test","_id":"AVv7bYBw9B7sLSntUj3k","_score":1.0,"_source":
{
"BC" : 731,
"Market HK" : "2017-05-11 19:06:32",
"SODHK received HPS" : "2017-05-11 19:10:02",
"SOD-HK Sent to mdf Soll" : "04:28:00 ",
"SOD-HK Sent to mdf Soll (GMT)" : "21:58:00",
"SOD-HK Sent to mdf Ist" : "2017-05-11 19:28:01",
"SOD-HK Sent msg" : "1231",
"EOD1" : "2017-05-12 06:39:01",
"EOD1 msg sent" : "1189",
"EOD2" : "2017-05-11 12:58:00",
"EOD2 msg sent" : "1188",
"Hostname" : "mqzhlmpx07"
}