-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elasticsearch: Support native elasticsearch config for transport mode.
Previously, this feature was available only for node mode. By supporting loading native elasticsearch config, it is possible now to use Shield with syslog-ng (even LDAP is working). When you want to use Shield, you have to add elasticsearch-shield-1.3.3.jar to your classpath. ``` shield.ssl.keystore.path: /home/test/es/shield/client.jks shield.ssl.keystore.password: qqq123 shield.transport.ssl: true shield.user: es_admin:qqq123 ``` ``` @Version: 3.8 destination d_elastic { elasticsearch( 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/etc/elasticsearch.yml") ); }; ``` fixes: #826 Signed-off-by: Laszlo Budai <Laszlo.Budai@balabit.com>
- Loading branch information
Showing
3 changed files
with
34 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters