How to filter results by host name


(anvesh) #1

I am working on ES 6.4.x.How can I filter the records by host name. Suppose I have a records like https://abc.com/ghi/123, https://abc.com/ghi/345,https://abc.com/jkl/567,https://abc.com/jkl/789. How can I filter results from https://abc.com/jkl/


(David Pilato) #2

You should probably use a path tokenizer to support this use case. See https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-pathhierarchy-tokenizer.html


(system) #3

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