利用logstash 导入s3数据,但是启动logstash后,es没有数据
以下是logstash日志
[2021-05-19T06:41:32,465][INFO ][logstash.inputs.s3 ][main] Registering {:bucket=>"lgcflog", :region=>"ap-northeast-1"}
[2021-05-19T06:41:33,092][INFO ][logstash.javapipeline ][main] Pipeline started {"pipeline.id"=>"main"}
[2021-05-19T06:41:33,122][INFO ][logstash.agent ] Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[2021-05-19T06:41:33,771][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2021-05-19T06:41:39,028][INFO ][logstash.inputs.s3 ][main][dc5cbe7c0d25d6616812734c9084acb86c001450d2d5a3cc4315ccf016ecd8c3] Using default generated file for the sincedb {:filename=>"/var/lib/logstash/plugins/inputs/s3/sincedb_57297569eda6d570f1a73f5b88379097"}
但是/var/lib/logstash/plugins/inputs/s3/sincedb_57297569eda6d570f1a73f5b88379097这个文件内容也没有改变
以下是logstash日志
[2021-05-19T06:41:32,465][INFO ][logstash.inputs.s3 ][main] Registering {:bucket=>"lgcflog", :region=>"ap-northeast-1"}
[2021-05-19T06:41:33,092][INFO ][logstash.javapipeline ][main] Pipeline started {"pipeline.id"=>"main"}
[2021-05-19T06:41:33,122][INFO ][logstash.agent ] Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[2021-05-19T06:41:33,771][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2021-05-19T06:41:39,028][INFO ][logstash.inputs.s3 ][main][dc5cbe7c0d25d6616812734c9084acb86c001450d2d5a3cc4315ccf016ecd8c3] Using default generated file for the sincedb {:filename=>"/var/lib/logstash/plugins/inputs/s3/sincedb_57297569eda6d570f1a73f5b88379097"}
但是/var/lib/logstash/plugins/inputs/s3/sincedb_57297569eda6d570f1a73f5b88379097这个文件内容也没有改变
0 个回复