How to remove double quotes from Field

(Saket Kumar) #1

I am parsing a CSV which has a column field name and values within double quotes.

I have to rename the field such as:
mutate {rename => { '"ttfb_ms"' => "Time_to_First_Byte_(ms)" }}

And also have to remove double quotes from the column values.

"123" to 123

Is there any ways?

(Saket Kumar) #2

i got the way to do....
Field rename:
mutate {rename => { '"ttfb_ms"' => "Time_to_First_Byte_(ms)" }}

removal of double quotes from column value:
mutate { gsub => ["Time_to_First_Byte_(ms)","\"",""]}

(system) #3

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