Trying to Enable dynamic scripting

Hi,

Following this document https://www.elastic.co/guide/en/elasticsearch/reference/2.4/modules-scripting.html
I added the following lines to the end of the config/elasticsearch.yml file.

script.inline: true
script.indexed: true

When restarting ES it fails to start.

Why ?

Thanks

Logs?

Nothing is written to the log.

On my windows version of ES the error log is:

Faulting application name: elasticsearch-service-x64.exe, version: 1.0.15.0, time stamp: 0x51543b9d
Faulting module name: jvm.dll, version: 25.65.0.1, time stamp: 0x56146459
Exception code: 0xc0000005
Fault offset: 0x0000000000214be8
Faulting process id: 0xc84
Faulting application start time: 0x01d2a6341a4967fc
Faulting application path: D:\elasticsearch-2.4.0\bin\elasticsearch-service-x64.exe
Faulting module path: C:\Program Files\Java\jdk1.8.0_65\jre\bin\server\jvm.dll
Report Id: 412a7d74-12bb-11e7-a961-000c298adef4

Works now.

The reason it didn't work is that all configurations in the YML file should start with a space of one letter.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.