Reputation: 305
I am trying to create heatmap in Kibana dashboard. I have created the Database view which is fetching correct data. I have verified all the inputs manually. So, my database view is correct and reflects data correctly every day. But when I draw the graph in the Kibana using the elastic search index, for newly drawn graph count reflects correctly and all data matches with the database view response. BUT the next day when I open the dashboard the data and the count everything will wrong . [timerange will be correct]
Can someone please help me with these issues, I have been stuck with this for quite some time now.
Things I have tries:
sudo -u logstash /usr/share/logstash/bin/logstash --path.settings /etc/logstash -t /usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/index_visitor_analytics_view_demo_server.conf
The entries that are coming in the dashboard are not present in the Logstash output, but they are just present in the database. My database view is not picking that entry, nor my logastash conf output is showing that entry but it appears in the Discover tab and Dashboard tab of Kibana.
In the below image it should be 11 entries instead it is showing 17 entries.
Also When I try to get the response fromGET /index_visitor_analytics_view_demo_server/_search?pretty
I am getting correct result count , but just in dashboard we see wrong result
Upvotes: 0
Views: 84
Reputation: 3680
It sounds like duplicated data to me. Can you please check distinct count of each document?
#go to dev tools
GET your_index_name/_search
{
"size": 0,
"aggs": {
"NAME": {
"terms": {
"field": "Document.keyword"
}
}
}
}
Upvotes: 0