I'm trying to transform field values in order to get rid of some characters however I do not know the values.
I tried this:
gsub => ["fwdPtPrecision", ".,","."]
but the fwdPtPrecision=0.001 was changed to 0.00. Which is not what I want . I do not want to mess with the values and I'm only aware of the characters I want to filter out.
Can I use standard regex?
Do you know what characters you are trying to get rid of? Can you give us an example. That would probably be best, your first description was kind of vague.
Are you breaking these apart into separate fields or are you trying to gsub on the whole log message? Are you going to break the log message apart with groks and such? You said:
`
So I have these fields with the following values
`
But from your configuration file these aren't separated into fields in Logstash/Elasticsearch yet.
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.