A-B-C::E_[randomNum]
the field is dynamic because the randonNUM , i want to change the '-' to '_' and remove the [randomNUM] and it's will be looks like as follow,
A-B-C::E
Is there any plugin / strategy to solve this problem?
any help will be appreciated !
OK, so this pattern is "fieldname". I believed it was field value.
It is weird like field name.
Is the original field name generated by logstash, or do you get it like that from an external source ?
If it is first option, I invite you to generate at the beginning the wished field name.
Because, after, you can't do it without using ruby filter and write code which mutates event.
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.