Hey Folks,
I'm running an elastic pipeline to read from Elasticsearch and write documents to an S3 bucket
input {
elasticsearch {
ssl => true
hosts => ["<Redacted>"]
user => "<Redacted>"
password => "<Redacted>"
index => "<Redacted>"
query => '{ "query": { "query_string": { "query": "winlog.channel:<Redacted>*" } } }'
}
}
output {
s3 {
aws_credentials_file => "/etc/path/toFile/credentials.yml"
region => "<Redacted>"
bucket => "<Redacted>"
additional_settings => {
force_path_style => true
follow_redirects => false
}
prefix => "%<Redacted>"
}
}
When I run this, it process all the documents in the index(index alias), and then it get terminated.
I want to make sure this runs continuously, so that all the new docs that go into the index get re-written to s3. How can I achieve this?
Regards,
Thanura