Again i have the following error Error stating pattern database file, no automatic reload will be performed; error='No such file or directory' It works but this error remind Ivan On 05/27/2016 02:47 PM, Scheidler, Balázs wrote:
Hmm but some additional log messages would be great to have any initialization failed. Or am I the only one missing some hints there?
Viktor?
On May 27, 2016 2:17 PM, "Czanik, Péter" <peter.czanik@balabit.com <mailto:peter.czanik@balabit.com>> wrote:
Hi,
As I mentioned in a previous post: syslog-ng 3.7 only supports Elasticsearch 1.X. Looking at your logs reveals, that you use Elasticsearch 2.3.3
Bye,
Peter Czanik (CzP) <peter.czanik@balabit.com <mailto:peter.czanik@balabit.com>> Balabit / syslog-ng upstream http://czanik.blogs.balabit.com/ https://twitter.com/PCzanik
On Fri, May 27, 2016 at 2:15 PM, Ivan Adji - Krstev <akivanradix@gmail.com <mailto:akivanradix@gmail.com>> wrote:
Well i try default one i try add cluster.neame: in the .yml file, but still nothing still the same error.
[2016-05-27T08:14:29.003329 <tel:29.003329>] Error stating pattern database file, no automatic reload will be performed; error='No such file or directory' [2016-05-27T08:14:29.758816 <tel:29.758816>] Add path to classpath: //usr/lib64/syslog-ng/java-modules/syslog-ng-core.jar; [2016-05-27T08:14:29.759989 <tel:29.759989>] Add path to classpath: /usr/lib64/syslog-ng/java-modules/dummy.jar; [2016-05-27T08:14:29.760284 <tel:29.760284>] Add path to classpath: /usr/lib64/syslog-ng/java-modules/elastic.jar; [2016-05-27T08:14:29.760573 <tel:29.760573>] Add path to classpath: /usr/lib64/syslog-ng/java-modules/hdfs.jar; [2016-05-27T08:14:29.760923 <tel:29.760923>] Add path to classpath: /usr/lib64/syslog-ng/java-modules/http.jar; [2016-05-27T08:14:29.761256 <tel:29.761256>] Add path to classpath: /usr/lib64/syslog-ng/java-modules/java-modules.jar; [2016-05-27T08:14:29.761555 <tel:29.761555>] Add path to classpath: /usr/lib64/syslog-ng/java-modules/kafka.jar; [2016-05-27T08:14:29.761888 <tel:29.761888>] Add path to classpath: /usr/lib64/syslog-ng/java-modules/log4j-1.2.16.jar; [2016-05-27T08:14:29.762193 <tel:29.762193>] Add path to classpath: /usr/lib64/syslog-ng/java-modules/syslog-ng-common.jar; [2016-05-27T08:14:29.762511 <tel:29.762511>] Add path to classpath: /usr/lib64/syslog-ng/java-modules/syslog-ng-core.jar; [2016-05-27T08:14:29.762854 <tel:29.762854>] Add path to classpath: /usr/share/elasticsearch/lib/HdrHistogram-2.1.6.jar; [2016-05-27T08:14:29.763170 <tel:29.763170>] Add path to classpath: /usr/share/elasticsearch/lib/apache-log4j-extras-1.2.17.jar; [2016-05-27T08:14:29.763510 <tel:29.763510>] Add path to classpath: /usr/share/elasticsearch/lib/commons-cli-1.3.1.jar; [2016-05-27T08:14:29.763859 <tel:29.763859>] Add path to classpath: /usr/share/elasticsearch/lib/compiler-0.8.13.jar; [2016-05-27T08:14:29.764128 <tel:29.764128>] Add path to classpath: /usr/share/elasticsearch/lib/compress-lzf-1.0.2.jar; [2016-05-27T08:14:29.764449 <tel:29.764449>] Add path to classpath: /usr/share/elasticsearch/lib/elasticsearch-2.3.3.jar; [2016-05-27T08:14:29.764773 <tel:29.764773>] Add path to classpath: /usr/share/elasticsearch/lib/guava-18.0.jar; [2016-05-27T08:14:29.765098 <tel:29.765098>] Add path to classpath: /usr/share/elasticsearch/lib/hppc-0.7.1.jar; [2016-05-27T08:14:29.765392 <tel:29.765392>] Add path to classpath: /usr/share/elasticsearch/lib/jackson-core-2.6.6.jar; [2016-05-27T08:14:29.765737 <tel:29.765737>] Add path to classpath: /usr/share/elasticsearch/lib/jackson-dataformat-cbor-2.6.6.jar; [2016-05-27T08:14:29.766062 <tel:29.766062>] Add path to classpath: /usr/share/elasticsearch/lib/jackson-dataformat-smile-2.6.6.jar; [2016-05-27T08:14:29.766395 <tel:29.766395>] Add path to classpath: /usr/share/elasticsearch/lib/jackson-dataformat-yaml-2.6.6.jar; [2016-05-27T08:14:29.766945 <tel:29.766945>] Add path to classpath: /usr/share/elasticsearch/lib/jna-4.1.0.jar; [2016-05-27T08:14:29.767245 <tel:29.767245>] Add path to classpath: /usr/share/elasticsearch/lib/joda-convert-1.2.jar; [2016-05-27T08:14:29.767557 <tel:29.767557>] Add path to classpath: /usr/share/elasticsearch/lib/joda-time-2.8.2.jar; [2016-05-27T08:14:29.767950 <tel:29.767950>] Add path to classpath: /usr/share/elasticsearch/lib/jsr166e-1.1.0.jar; [2016-05-27T08:14:29.768251 <tel:29.768251>] Add path to classpath: /usr/share/elasticsearch/lib/jts-1.13.jar; [2016-05-27T08:14:29.768544 <tel:29.768544>] Add path to classpath: /usr/share/elasticsearch/lib/log4j-1.2.17.jar; [2016-05-27T08:14:29.768876 <tel:29.768876>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-analyzers-common-5.5.0.jar; [2016-05-27T08:14:29.769225 <tel:29.769225>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-backward-codecs-5.5.0.jar; [2016-05-27T08:14:29.769570 <tel:29.769570>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-core-5.5.0.jar; [2016-05-27T08:14:29.769900 <tel:29.769900>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-grouping-5.5.0.jar; [2016-05-27T08:14:29.770194 <tel:29.770194>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-highlighter-5.5.0.jar; [2016-05-27T08:14:29.770514 <tel:29.770514>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-join-5.5.0.jar; [2016-05-27T08:14:29.770888 <tel:29.770888>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-memory-5.5.0.jar; [2016-05-27T08:14:29.771187 <tel:29.771187>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-misc-5.5.0.jar; [2016-05-27T08:14:29.771497 <tel:29.771497>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-queries-5.5.0.jar; [2016-05-27T08:14:29.771844 <tel:29.771844>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-queryparser-5.5.0.jar; [2016-05-27T08:14:29.772179 <tel:29.772179>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-sandbox-5.5.0.jar; [2016-05-27T08:14:29.772466 <tel:29.772466>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-spatial-5.5.0.jar; [2016-05-27T08:14:29.772811 <tel:29.772811>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-spatial3d-5.5.0.jar; [2016-05-27T08:14:29.773098 <tel:29.773098>] Add path to classpath: /usr/share/elasticsearch/lib/lucene-suggest-5.5.0.jar; [2016-05-27T08:14:29.773447 <tel:29.773447>] Add path to classpath: /usr/share/elasticsearch/lib/netty-3.10.5.Final.jar; [2016-05-27T08:14:29.773783 <tel:29.773783>] Add path to classpath: /usr/share/elasticsearch/lib/securesm-1.0.jar; [2016-05-27T08:14:29.774055 <tel:29.774055>] Add path to classpath: /usr/share/elasticsearch/lib/snakeyaml-1.15.jar; [2016-05-27T08:14:29.774326 <tel:29.774326>] Add path to classpath: /usr/share/elasticsearch/lib/spatial4j-0.5.jar; [2016-05-27T08:14:29.774572 <tel:29.774572>] Add path to classpath: /usr/share/elasticsearch/lib/t-digest-3.0.jar; [2016-05-27T08:14:32.237017 <tel:32.237017>] Add path to classpath: //usr/lib64/syslog-ng/java-modules/syslog-ng-core.jar; [2016-05-27T08:14:32.372708 <tel:32.372708>] Error initializing message pipeline;
Ivan
On 05/27/2016 02:13 PM, Fabien Wernli wrote:
On Fri, May 27, 2016 at 01:43:29PM +0200, Ivan Adji - Krstev wrote:
So the cluster should be the cluster name of the ES ? How can i see this name ? There is nothing in the elasticsearch.yml file, do i have to specify there ?
by default, it's elasticsearch
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq