Combining 2 fields in logstash

I have been trying to combine 2 fields in logstash.
My first clickstream log contains {x=y, software=DEMO, language=EN} as a parameter.
My second log contains clickstream log {a=b, projectId=DEMO, language=EN} as a parameter.

I want to make a single field called software_used that contains value of software and projectId.
Someone plz help me with this.


you can grok it to get rid of the curly brackets and then use the kv filter:

after this you can use the mutate filter to combine these as you want.

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