I'm currently extracting data from Elasticsearch to a CSV using logstash, however I have some fields that returns a null, so I would have in my CSV, something like: 1,,2,3,4,,,,2.
Impossible to say given the limited information you have posted. If you can show a document from output { stdout { codec => rubydebug } } we might hazard a guess.
Hello, thanks for your response.
By putting stdout { codec => rubydebug } I just get the same I get on Postman.
After further testing and investigation I can now replace Strings, however I can not replace null or long values.
For example, in Postman I have this field with the following value:
If you do not need a regular expression then for integers you can test for a particular value and then mutate+replace. For nil values you can mutate+coerce.
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.