Logstash: how to use filter to match filename when using s3

后端 未结 3 1714
鱼传尺愫
鱼传尺愫 2021-01-14 21:44

I am new to logstash. I have some logs stored in AWS S3 and I am able to import them to logstash. My question is: is it possible to use the grok filter to add tags based on

3条回答
  •  萌比男神i
    2021-01-14 22:20

    There is no "path" in S3 inputs. I mount the S3 storage on my server and use the file inputs. With file inputs, I can use the filter to match the path now.

提交回复
热议问题