# Better URL Search with Elasticsearch

DevFeed: [Better URL Search with Elasticsearch](<https://devfeed.tech/articles/better-url-search-with-elasticsearch-27985.md>)

Original publisher: [Read original article](<https://tech.trivago.com/post/2020-02-11-betterurlsearchwithelasticsearch/>)

Author: Jorge Luis Betancourt Follow

Published: 2020-02-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Trivago](<https://devfeed.tech/sources/trivago.md>)

Topics: [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>), [Logging](<https://devfeed.tech/topics/logging.md>), [log management](<https://devfeed.tech/topics/log-management.md>), [tokenization](<https://devfeed.tech/topics/tokenization.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>)

Tags: [ascii](<https://devfeed.tech/tags/ascii.md>), [cardinality](<https://devfeed.tech/tags/cardinality.md>), [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [kibana](<https://devfeed.tech/tags/kibana.md>), [logging](<https://devfeed.tech/tags/logging.md>), [logs](<https://devfeed.tech/tags/logs.md>), [logstash](<https://devfeed.tech/tags/logstash.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [tokenization](<https://devfeed.tech/tags/tokenization.md>)

## AI overview

This article explains how trivago searches URL components stored in Elasticsearch within an ELK-based logging pipeline. It examines how the Standard Analyzer tokenizes URL-like query strings and discusses preprocessing and flattened-field approaches for matching query-parameter key/value pairs, including their tradeoffs.

## Source excerpt

At trivago, we generate a huge amount of logs and we have our own custom setup for shipping logs using mostly