But the new filebeat doesnt create files in new " Directories for Data and Logs". Journalctl shows " Exiting: /var/lib/filebeat/filebeat.lock: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data)"
what i need to do to filebeat send to the directory /var/lib/filebeat_02?
All that was missing was the "path" within the service that points to the "log and lib" data files.
About your curiosity: the logs I receive are personalized. And using the ML tool it generates different multiline patterns. That's why it was necessary to have two filebeats on the same machine.
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.