From b26b50f0a528ebee958f7f0c40d273ccaaa9268a Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 16 Nov 2018 17:44:22 +0100 Subject: [PATCH] library/roles/ELK/elasticsearch/defaults/main.yml: Add UTF-8 as the default encoding to the elasticsearch JDK parameters. --- ELK/elasticsearch/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ELK/elasticsearch/defaults/main.yml b/ELK/elasticsearch/defaults/main.yml index edaf36c8..809f1281 100644 --- a/ELK/elasticsearch/defaults/main.yml +++ b/ELK/elasticsearch/defaults/main.yml @@ -24,7 +24,7 @@ elasticsearch_max_local_storage_nodes: 1 elasticsearch_destructive_requires_name: 'true' elasticsearch_define_heap_size: False elasticsearch_heap_size: 2g -elasticsearch_additional_java_opts: '-server -Djava.awt.headless=true' +elasticsearch_additional_java_opts: '-server -Djava.awt.headless=true -Dfile.encoding=UTF-8' elasticsearch_max_open_files: 65536 # Compatibility with kernels <= 3.5. Set to False if you are using a newer kernel elasticsearch_disable_bootstrap_syscall_filter: True