Separate fields and values in logstash

Hi - I need help on how I can separate the fields and values via logstash. I'm not sure if grok filter is applicable on this as it only separates the values of the fields. Please see below my sample input and expected output.

Sample Input:

#CustomerName,Age,Gender,Status
Jennifer 39 Female Married

#Temperature,Humidity,Precipitation
72.1 0.113 85.1

Expected Output:

Customer Name = Jennifer
Age = 39
Gender = Female
Status = Married
Temperature = 72.1
Humidity = 0.113
Precipitation = 85.1

Thanks in advance!

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