Logstash multiple output

Hello,

How to store logstash output in multiple places at same time.
For example, I am reading apache access logs and storing in elasticsearch after filtering. Now how to store those logs in elasticsearch and file at same time without any condition.

output {
  elasticsearch {
    ...
  }
  file {
    ...
  }
}
1 Like