How to extract filename from file path in filebeat


(Srinivasarao Daruna) #1

I am looking to set the output to redis from filebeat.

I need to extract date and name of the file from file path. I knew how to do it using filters in logstash. But, how can i do that with filebeat.?


(Magnus Bäck) #2

I don't believe that's possible. Filebeat lacks—on purpose—nearly all of Logstash's filtering features.


(Mark Walkom) #3

Beats are supposed to be lightweight, if you want to do more filtering then that is what LS is for :slight_smile:


(system) #4