I am new to this forum so I want to apologize in advance if this topic is already discussed.
I was creating a visualization in Kibana and I got two different results when I added a filter vs. I put the same condition in the search box above. Is there a reason for this? Does the two functionality work in two different ways?
P.S I have only learnt how to use to use the Kibana interface recently and don't have any idea how the backed elastic search code works, so if you can provide some solution keeping this in mind that would be really helpful.
I'm just wanting to clarify, do you mean when you use the "Add a filter" dialog vs. when you type in the search bar, or when you're using the "filters" bucket aggregation?
What are you typing in the search box and what are you using for the filter?
Hey Lucas, I meant "Add a filter" dialog vs. typing that same condition in the search bar.
So for example if I am using country is "USA" in the filter dialog vs. country:"USA" in the search bar, I am getting completely different results. So I was wondering if the two functionalities work differently.
If you type
country: "USA" in the search bar, this will do a
query_string query whereas the filter bar will do a
I read through the links but I am a bit confused. Will you be able to explain with this particular example what's the difference?
Yeah, can you provide your mapping for that field?
Sorry, but what do you mean by mapping?
If you go into the Kibana dev tools, do the following:
And paste the results in a comment here.
Is this what you are looking for?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.