[syslog-ng] problem elasticsearch2 creating index per HOST

Fabien Wernli wernli at in2p3.fr
Tue Feb 6 14:05:38 UTC 2018


Hi,

I just tested this with the following simple config, and it works:

        destination{
                elasticsearch2(
                        client-lib-dir("/usr/share/elasticsearch/lib/")
                        index("syslog-ng-${HOST}")
                        type("test")
                        cluster-url("http://localhost:9200")
                        client-mode("http")
                        template("$(format-json --scope nv-pairs)")
                );
        };



More information about the syslog-ng mailing list