Different Logs to Different ELK Stacks


(Tony Chirillo) #1

Is it possible to configure an instance of Winlogbeat to send different logs to different elk stacks? If no, how would such be accomplished? Would that require the installation of multiple instances of Winlogbeat on servers?


(Andrew Kroh) #2

Beats cannot route events to different clusters. You can use Logstash to route events.

                +------>  ES
 WLB  +-->  LS  |
                +------>  ES

In Logstash you can use a conditional statement to output to different elasticsearch instances.

output {
  if // some condition {
    elasticsearch {
      // ES cluster A
    }
  } else if // some other condition {
    elasticsearch {
      // ES cluster B
    }
  }
}

(Mark Walkom) #3

FYI we’ve renamed ELK to the Elastic Stack, otherwise Beats feels left out :wink:


(system) #4

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