Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Elasticsearch 2 destination with Shield support #912

Merged
2 commits merged into from
Feb 15, 2016

Conversation

lbudai
Copy link
Collaborator

@lbudai lbudai commented Feb 9, 2016

Support ElasticSearch 2 with Shield.

Example config:

destination d_elastic {
    elasticsearch2(
        client_lib_dir(/usr/share/elasticsearch/lib)
        client_mode("shield")
        cluster("es-syslog-ng")
        index("es-syslog-ng")
        port("9300")
        server("vagrant-es-server")
        type("slng_test_type")
        resource("/opt/syslog-ng-ose-3.8/etc/elasticsearch.yml")
    );
};

@ihrwein ihrwein changed the title F/elastic2 Add Elasticsearch 2 destination with Shield support Feb 12, 2016
@ihrwein
Copy link
Contributor

ihrwein commented Feb 12, 2016

Could include a simple configuration snippet in the description of the PR, please? Thanks.

@lbudai
Copy link
Collaborator Author

lbudai commented Feb 12, 2016

Yep, originally it was cherry-picked, but I can modify it.

Zoltan Pallagi and others added 2 commits February 12, 2016 09:47
Example config file snippet:
```
destination d_elastic {
    elasticsearch2(
        client_lib_dir(/usr/share/elasticsearch/lib)
        client_mode("transport")
        cluster("es-syslog-ng")
        index("es-syslog-ng")
        port("9300")
        server("vagrant-es-server")
        type("slng_test_type")
        resource("/opt/syslog-ng-ose-3.8/etc/elasticsearch.yml")
    );
};
```

Signed-off-by: Laszlo Budai <stentor.bgyk@gmail.com>
client_mode("shield") will enable shield support.

Signed-off-by: Laszlo Budai <Laszlo.Budai@balabit.com>
@lbudai
Copy link
Collaborator Author

lbudai commented Feb 12, 2016

I also rebased the PR against master.

ghost pushed a commit that referenced this pull request Feb 15, 2016
Add Elasticsearch 2 destination with Shield support
@ghost ghost merged commit 56a89c5 into syslog-ng:master Feb 15, 2016
@ghost ghost removed the in progress label Feb 15, 2016
@ihrwein
Copy link
Contributor

ihrwein commented Feb 15, 2016

Thanks!

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants