Defining reusable components in the Properties file

2017-04-09 Thread jeff saremi
Is there anyway to create some reusable settings/components and then use them in the context of a specific source or agent? # Can I do something like: interceptors.my_reusable_interceptor.type =regex_extractor interceptors.my_reusable_interceptor.regex = (\\d{4}-\\d{2}-\\d{2}) # and then farth

Elasticsearch sink fails with method not found

2017-04-09 Thread jeff saremi
How old is the ElasticSearch sink code? I'm using flume 1.7.0 with ES 5.3.0 I have copied the following jars to flume\lib: elasticsearch-5.3.0 lucene-core-6.4.1 and here's my config: agent.sinks.es.type = elasticsearch agent.sinks.es.hostNames = localhost:9300 agent.sinks.es.indexName = logs a

Re: Elasticsearch sink fails with method not found

2017-04-09 Thread أنس الليثي
NoSuchMethodError usually appears when there is a mismatch in the libraries versions. Check the Elasticsearch version you are using and check the Elasticsearch and Solr jar versions in the lib directory of Flume. On 9 April 2017 at 23:57, jeff saremi wrote: > How old is the ElasticSearch sink co