We want to know the possibilities of replaing a null valued field with connstant value suplied in ingest pipeline.
We are pushing data to elasticsearch where we have field salesdate in all docs and it may be null in few cases, instead of salesdate as null we want it to be replaced by some constant date like 2020-01-01 00:00.00.
This is possible. You can use a set processor in the pipeline, with an if check to make sure the field doesn't exist. i.e. !ctx.containsKey('myField').
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.