global lowercase normaliser index setting - feature request #50562
Labels
>enhancement
help wanted
adoptme
:Search/Mapping
Index mappings, including merging and defining field types
Team:Search
Meta label for search team
Hi,
We have spent a lot of time adding lowercase normalisers to the templates exported from beats. We would like to make it easier to apply normalisers to all the keywords for when new beats templates are released, as it will save us time porting over our changes when a new template is released.
Would it be possible to add a setting to the index so all keyword fields are converted to lowercase before indexing? This wouldn't be applied to multi-field keywords so we can store the original value. Our understanding is the normaliser is applied at index and search time, but not to the _source document so fields visible in Kibana aren't affected by the normaliser.
For example we would want to store the following as original keyword or add a multi-field uppercase normaliser:
original
Uppercase
We do this as "Keyword fields are only searchable by their exact value" and most of the fields in our indexes are keywords.
https://www.elastic.co/guide/en/elasticsearch/reference/current/keyword.html
We add the case normalises to mitigate that risk of a security analyst searching for logs in Elasticsearch, and missing a load of events because the case they entered was different to what was indexes in elasticsearch.
For example if they search for a malware/C2 domain and the case doesn't match, we still need them to find the logs.
Thanks,
Matthew
The text was updated successfully, but these errors were encountered: