Multiple logstash output

I would like to forward all source logs to Logstash. Logstash should have 2 outputs.

  1. Elasticsearch, for formatted logs
  2. S3, for untampered logs

Is this possible ?
Or do I need to configuring 2 outputs for the source logs?
Or do I need a Kibana between the source logs and Logstash?

output {

  elasticsearch {
  }

  s3 {
  }

}

This is the format if you want to have 2 outputs. If all data doesn't go to both outputs then you can do conditional statements.

1 Like

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