The main error here is that the use of . without any character of repetition.
Error : ^.L search 1 character before a L at the beginning of the line.
Correction : ^.*L search 0 or more character since the beginning of the line until he found a L .
Error: _. search 1 character after a _.
Correction : _.*$ search 0 or more character until the end of the line after a _.
I think the error came from the add_field.
In the documentation, about the add_field, we can found If this filter is successful, add any arbitrary fields to this event so i think, the add field is execute after the gsub. That's why rNim and rld have the same value.
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.