1

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?

baudsp
  • 4,076
  • 1
  • 17
  • 35
Ryan
  • 10,041
  • 27
  • 91
  • 156

1 Answers1

2

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.

Community
  • 1
  • 1
baudsp
  • 4,076
  • 1
  • 17
  • 35