I want to share my observations about using gsub with regex.
I use gsub for extracting application instance name from log file path.
Example path: /logs/pppas/logs_tcc/app619_pppas-prod1/payload.log where app619_pppas-prod1 is instance name.
Correct, and when i have huge amount of log lines for processing impact on CPU usage is significant. Just posted this to Logstash users to be aware of that.
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.