Extract source filename in logstash received from Filebeat

I am using ELK v5.5

How do i extract only log file name from the source log file name send by filebeat to logstash

I am processing dozens of logs files and will be having different paths and log file names, I just want to extract the file name, i.e. file name after last slash

sample log files names:



Use a grok filter. This has been asked here multiple times before so you should find examples in the archives.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.