I've noticed that the add_field operation is executed last - this is not explicitly documented and causes unexpected behavior when doing something like:
I've noticed that the add_field operation is executed last - this is not explicitly documented
No, I guess not. The add_field docs say "If this filter is successful, add any arbitrary fields to this event" which implies that it executes last.
Is there any way to change this behavior?
No. Do not rely on the execution order of the options listed in a mutate filter. If there are dependencies between them you need to use multiple mutate filters.
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.