Lowercase index when created from fields

Hello,

I want to create an index that depends on some of the fields of my input lines (JSON lines).

like index: "wilco-%{[site]}-%{[fwot_type]}-%{[layout_id]}-%{+yyyy.MM}-v1"

But %{[fwot_type]} has some uppercases, therefore, it fails: Invalid index name [wilco-foo-A380-999339-2018.02-v1], must be lowercase

how could I deal with that? With logstash I had the lowercase filter, with ingest node too, but with filebeat?

thank's

As uppercase is invalid, beats should either provide a lowercase processor or always ensure index names are lower-case when using custom fields. Feel free to open a bug report: https://github.com/elastic/beats/issues

While not perfect, one can work around the issue by setting the index name in Ingest Node (set _index field to re-route to new index) or Logstash.

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