hi.
I am using Filebeat and Logstash.
now, my [log][file][path] result. (The file path is flexible.)
/home/logs/tomcat/application/test.log
or
/LOG/application/test2.log
etc...
I only want the file name except for the extension.
example,
test
or
test2
I want to use the extracted file name as the output elasticsearch index by putting it in a variable.
please help me...