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?
i got the way to do.... Field rename: mutate {rename => { '"ttfb_ms"' => "Time_to_First_Byte_(ms)" }}
mutate {rename => { '"ttfb_ms"' => "Time_to_First_Byte_(ms)" }}
removal of double quotes from column value: mutate { gsub => ["Time_to_First_Byte_(ms)","\"",""]}
mutate { gsub => ["Time_to_First_Byte_(ms)","\"",""]}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.