Trying to Enable dynamic scripting


Following this document
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 ?



Nothing is written to the log.

On my windows version of ES the error log is:

Faulting application name: elasticsearch-service-x64.exe, version:, time stamp: 0x51543b9d
Faulting module name: jvm.dll, version:, 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.