2

I am in the process of tying up Bosun with my existing ELK setup. However after referring to the documents in Bosun I am not able to identify how exactly the connectivity works.

is it something like below.

Logstash output for opentsdb --> Bosun or Logstash output for opentsdb --> scollector --> Bosun.

kasperd
  • 31,086

1 Answers1

1

The lsstat() and lscount() functions query elastic directly. You define an array of elastic hosts:

logstashElasticHosts=http://ny-lselastic01.ds.stackexchange.com:9200,http://ny-lselastic02.ds.stackexchange.com:9200,http://ny-lselastic03.ds.stackexchange.com:9200

Bosun (really the Go ES Library) will discover all nodes in that cluster and keep track of when nodes leave and come (as long as at startup it can use one of the hosts in the array to discover all the other hosts).

They are "logstash" functions because the code expects indexes to have the date postfix as per Logstash's default.

Kyle Brandt
  • 85,693