1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #include "base/configobject.hpp"
10 class ElasticsearchWriter : ConfigObject
12 activation_priority 100;
14 [config, required] String host {
15 default {{{ return "127.0.0.1"; }}}
17 [config, required] String port {
18 default {{{ return "9200"; }}}
20 [config, required] String index {
21 default {{{ return "icinga2"; }}}
23 [config] bool enable_send_perfdata {
24 default {{{ return false; }}}
26 [config] String username;
27 [config] String password;
29 [config] bool enable_tls {
30 default {{{ return false; }}}
32 [config] String ca_path;
33 [config] String cert_path;
34 [config] String key_path;
36 [config] int flush_interval {
37 default {{{ return 10; }}}
39 [config] int flush_threshold {
40 default {{{ return 1024; }}}
42 [config] bool enable_ha {
43 default {{{ return false; }}}