Logstash write to influx and elastic

Greetings
is it possible to write to 2 time series databases at the same time? For example influx and elasticsearch. Currently i'm writing only to influx:

    output {
       if [@influx_measurement] =~ /(SYS_.*)/ {
        influxdb {
          host => "nata01:8086"
          db => "TESTDB"
          retention_policy => "30days"
          use_event_fields_for_data_points => true
          }

Thanks,

Yes, Logstash supports multiple outputs. Unless prevented by conditionals all events will be sent to all outputs.

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