Formatting a field as a link to a filtered view on its value

I have a field in my index called "labels" that contains an array of strings that is used as tags for the documents.
Is there a way to format this field as a link that when a user click on it in the Discover area it links to Discover view with a filter set to the clicked value?

So if a document has the value "testing" and the user clicks on it, it will filter the view with "lables:testing" or so.

Hi

In Discover you can create filters by values, why would you need a separate view for it?

Best,
Matthias

Hi,
As I mentioned in my question, I want to use the field as a link to filter on it. Just like when we do in visualizations when you click on a bar in a bar-chart it filters the dashboard on that specific value. I want to do the same thing with my mentioned "labels" field, a clickable value that filter the view upon its value.
In your example, if I click on "Men's Shoes" in the first row it will add this value as a filter and show only documents with this category.

What is the field mapped as?

it is a list of keywords, so basically it is keyword field.

I don't think you can do that on an array unfortunately. Otherwise you could have used URL templating | Kibana Guide [7.15] | Elastic

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