Reputation: 10101
I want to run a filter first, e.g. tag:foo
, and for all matched rows, then I run a Date Histogram
, is it possible?
Upvotes: 1
Views: 296
Reputation: 4100
From this answer:
Go to the Discovery page and enter the search query : tag:foo
Once you've entered your query in the discovery page, save your current search:
Kibana documentation
Then when creating the visualisation, after selecting the type Date Histogram
, you use "From a saved search" to select the search you've created.
In that case only the documents from the search will be on the graph.
Upvotes: 2