I have the following grok filter which extracts the file_extension from a field. It works except fine for files which have no extension, which generate a _grokparsefailure tag. For files with no extension, I would like the file_extension value set to an empty string. How can I accomplish this? Thank you!
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.