Translate Issue

Hi All,

I have tested Logstash translate feature, which works perfectly fine. But it can understand only two columns one as source and another as destination field.

I am looking at a solution to match key-value with col1 and get data of col2, col3, col4 so on into new fields.

I would appreciate if any one could help me.

Regards,

Ajay

The translate filter lookup result could be a string that you parse further with e.g. a kv, csv, or json filter, i.e. your lookup table could look simular to this:

lookup-key            {"col2": "a", "col3": "b", ...}
1 Like