Hi ,
I see below exception when posting a new elasticsearch template.
{
"error": {
"root_cause": [
{
"type": "access_control_exception",
"reason": "access denied ("java.io.FilePermission" "/app/elk/docker/dev/home_elasticsearch/config/analysis/my_synonyms.txt" "read")"
}
],
"type": "access_control_exception",
"reason": "access denied ("java.io.FilePermission" "/app/elk/docker/dev/home_elasticsearch/config/analysis/my_synonyms.txt" "read")"
},
"status": 500
}
I tried the same without docker and it works after updating java.policy file for file permissions.
I am new to docker and feeling it difficult to update the java policy to add new elastic synonyms file.
please help me with this