Hello everyone,
I was using Kibana for a project which I had to present today and unfortunately it didn't discover any data from in Elasticsearch.
I use the following command in Kibana to create the Elasticsearch index:
PUT tweets
{
"mappings": {
"tweet": {
"properties": {
"createdAt": {
"type": "date",
"format": "yyyyMMdd'T'HHmmssZ"
},
"sentiment":{
"type": "text"
},
"approximateTotalEngagement":{
"type": "long"
},
"approximateRetweetResponseTime":{
"type": "integer"
},
"favoriteCount": {
"type": "long"
},
"hashtagEntities": {
"properties": {
"end": {
"type": "long"
},
"start": {
"type": "long"
.............. and so on
Then from a Spark program I perform the following:
JavaEsSparkStreaming.saveJsonToEs(processedTweets, "tweets/tweet");
The data is saved in ES which I check by discovering the indices using curl, but nothing is shown in Kibana. Checked the fields, and tried to refresh these when data is available. Everything looks ok, but it just doesn't work. No idea where the bug is, as I haven't changed anything from the Spark App, since last time it was working. The problem is somewhere in Kibana/Elasticsearch configurations, but cannot find it.
I would be really happy if someone has some suggestions! Thanks!