[syslog-ng] systemd syslog-ng does not start CentOS 7.2.1511
Fabien Wernli
wernli at in2p3.fr
Wed Apr 13 17:08:01 CEST 2016
On Wed, Apr 13, 2016 at 10:49:46AM -0400, Scot Needy wrote:
> I assume you meant elasticsearch2 not elasticsearch_v2 ? elasticsearch2 seems to kinda work.
yes, I did
> [2016-04-13T10:19:22.900320] Exception occured: java.lang.IllegalStateException: path.home is not configured
> at org.elasticsearch.env.Environment.<init>(Environment.java:101)
> at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:81)
> at org.elasticsearch.node.Node.<init>(Node.java:140)
> at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
> at org.elasticsearch.node.NodeBuilder.node(NodeBuilder.java:150)
> at org.syslog_ng.elasticsearch_v2.client.ESNodeClient.createClient(ESNodeClient.java:78)
> at org.syslog_ng.elasticsearch_v2.client.ESClient.init(ESClient.java:100)
> at org.syslog_ng.elasticsearch_v2.ElasticSearchDestination.init(ElasticSearchDestination.java:63)
> at org.syslog_ng.LogPipe.initProxy(LogPipe.java:64)
you need to set this "path.home" variable in the elasticsearch configuration: the yaml
file pointed at by elascisearch2's "resource" parameter
More information about the syslog-ng
mailing list