Hashmap usage in logstash filter plugin

(Arun Prakash) #1

Hi All,

I have to populate a field in index with its full form from its short form. For this I have to use hashmap or any property holder to convert the field value from its short form to long form(full form). If a field with state code coming as TX. I have to change it to Texas in new index. How to do that?

(Andrew Cholakian) #2

The Translate plugin https://www.elastic.co/guide/en/logstash/current/plugins-filters-translate.html sounds like it probably does what you want :slight_smile:

(system) #3

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