No Results found in Dashboard when adding Visualizations

(Lucas Alvarez Lacasa) #1

Hello everybody, a couple of days ago I started a course about Elastic Search, Kibana and Logstash. Everything was working according to plan until I started playing with Visualizations. I defined a simple chart, which works as expected and displays the information that it should.

However, when I try to add that chart on a new dashboard, instead of displaying it, it shows: "No results found.". If I click on the edit button for that visualization added in the dashboard, it directs me to the Visualization page, where it's fully rendered as expected.

Any ideas or solutions for this issue? I also analized the _msearch request done by the browser in both cases, obtaining the following information as the request payload:

  1. In visualizations:

  2. In dashboard when displaying visualization created before:

(Brandon Kobel) #2

Hey @lucas.alvarez, would you mind including the response from the Dashboard _msearch here as well? Also, would you mind checking the Elasticsearch logs to see if anything interesting is logged there?

(Lucas Alvarez Lacasa) #3

Sure @Brandon_Kobel, this is the response for each case:

  1. When accessing visualization chart:

  2. When accessing dashboard on where the chart accessed in step (1) is:

I'm a total newbie in Elastic, as far as I can tell you, I don't see any weird errors being output in the windows powershell from where I executed elastic search. Should I search somewhere else?

(Lucas Alvarez Lacasa) #4

@Brandon_Kobel I was able to fix the issue :slight_smile: . Apparently it was caused by the fact that documents were being inserted while I was trying to add visualizations to the dashboard.
I'm assuming this is the reason, since after finishing the process of adding all documents using Logstash it started working.

Thanks and have a good day!.

(Brandon Kobel) #5

You should've been able to add Visualizations while documents were still being indexed. Looking at the queries that were executed, did you perhaps have a filter typed into your Dashboard where I've highlighted below? That could have been excluding the documents you expected to see.

(system) #6

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