Kibana version: 7.2.0
Hi there!
I'm trying to create a word-cloud visualization (Tag Cloud) in Kibana, using as input a document which has text fields on it. The documents are nested jsons, using one json for each sentence.
The file has this format:
{
"date": "2019-05-23",
"results": [
{
"text": "Hi Mark, could you please help me with ElasticSearch?",
"speaker": "spk_0"
},
{
"text": "Yeah, sure! how can I help you?",
"speaker": "spk_1"
}
]
}
And the mapping I've used is:
{
"mappings": {
"properties": {
"date": {
"type": "date",
"format": "yyyy-MM-dd"
},
"results": {
"type": "nested",
"properties": {
"text": {
"type": "text",
"fielddata": true
},
"speaker": {
"type": "text"
}
}
}
The index seems to work fine but, when I create the Tag Cloud of the field results.text, it returns nothing.
Perhaps I'm not understanding how the visualization works, I'm new with ES and Kibana.
Do I need to do aggregations before viz?
Is the index mapping wrong?
Thank you!