Sorting case insensitive


can i add a property to make sorting against a field case insensitive in logstash.

Thank you.

Are you saying you want to do something in logstash to make Elasticsearch sort order case insensitive, or are you actually doing sorting in logstash (if so, how)?

Hi Badger,

this is the first option, i want to do something in logstash to make case sorting insensitive in Elasticsearch.

thank you

In logstash I think the only option would be to add another copy of each field and call mutate+lowercase on it, but that will double the size of your index.

It is better handled in Elasticsearch, with either a custom_analyzer and a lowercase filter, or, more likely, a custom normalizer. Questions about either of those approaches are better addressed in the Elasticsearch forum.

Thank you Badger

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