Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"script_exception","reason":"compile error","script_stack":["(Matcher m = /[a-zA-Z0-9_.\\/]*(?=\\ ..."," ^---- HERE"],"script":"(Matcher m = /[a-zA-Z0-9_.\\/]*(?=\\b[\\;\\?\\&]|.*)/.matcher(doc['request'].value);\nif(m.find()) {\n return m.group();\n}) == params.value","lang":"painless"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query_fetch","grouped":true,"failed_shards":[{"shard":0,"index":"myapp-2016.11.30","node":"ZYe4xiW4QjuELazJhk4S4Q","reason":{"type":"query_shard_exception","reason":"failed to create query: {\n \"bool\" : {\n \"must\" : [\n {\n \"query_string\" : {\n \"query\" : \"*\",\n \"fields\" : [ ],\n \"use_dis_max\" : true,\n \"tie_breaker\" : 0.0,\n \"default_operator\" : \"or\",\n \"auto_generate_phrase_queries\" : false,\n \"max_determined_states\" : 10000,\n \"lowercase_expanded_terms\" : true,\n \"enable_position_increment\" : true,\n \"fuzziness\" : \"AUTO\",\n \"fuzzy_prefix_length\" : 0,\n \"fuzzy_max_expansions\" : 50,\n \"phrase_slop\" : 0,\n \"analyze_wildcard\" : true,\n \"locale\" : \"und\",\n \"escape\" : false,\n \"boost\" : 1.0\n }\n },\n {\n \"script\" : {\n \"script\" : {\n \"inline\" : \"(Matcher m = /[a-zA-Z0-9_.\\\\/]*(?=\\\\b[\\\\;\\\\?\\\\&]|.*)/.matcher(doc['request'].value);\\nif(m.find()) {\\n return m.group();\\n}) == params.value\",\n \"lang\" : \"painless\",\n \"params\" : {\n \"value\" : \"/myapp/bla/action1\"\n }\n },\n \"boost\" : 1.0\n }\n },\n {\n \"range\" : {\n \"@timestamp\" : {\n \"from\" : null,\n \"to\" : null,\n \"include_lower\" : true,\n \"include_upper\" : true,\n \"format\" : \"epoch_millis\",\n \"boost\" : 1.0\n }\n }\n }\n ],\n \"disable_coord\" : false,\n \"adjust_pure_negative\" : true,\n \"boost\" : 1.0\n }\n}","index_uuid":"hOxEzQiIQs6kdn_nbluQmA","index":"myapp-2016.11.30","caused_by":{"type":"script_exception","reason":"compile error","caused_by":{"type":"illegal_argument_exception","reason":"invalid sequence of tokens near ['m'].","caused_by":{"type":"no_viable_alt_exception","reason":"no_viable_alt_exception: null"}},"script_stack":["(Matcher m = /[a-zA-Z0-9_.\\/]*(?=\\ ..."," ^---- HERE"],"script":"(Matcher m = /[a-zA-Z0-9_.\\/]*(?=\\b[\\;\\?\\&]|.*)/.matcher(doc['request'].value);\nif(m.find()) {\n return m.group();\n}) == params.value","lang":"painless"}}}],"caused_by":{"type":"query_shard_exception","reason":"failed to create query: {\n \"bool\" : {\n \"must\" : [\n {\n \"query_string\" : {\n \"query\" : \"*\",\n \"fields\" : [ ],\n \"use_dis_max\" : true,\n \"tie_breaker\" : 0.0,\n \"default_operator\" : \"or\",\n \"auto_generate_phrase_queries\" : false,\n \"max_determined_states\" : 10000,\n \"lowercase_expanded_terms\" : true,\n \"enable_position_increment\" : true,\n \"fuzziness\" : \"AUTO\",\n \"fuzzy_prefix_length\" : 0,\n \"fuzzy_max_expansions\" : 50,\n \"phrase_slop\" : 0,\n \"analyze_wildcard\" : true,\n \"locale\" : \"und\",\n \"escape\" : false,\n \"boost\" : 1.0\n }\n },\n {\n \"script\" : {\n \"script\" : {\n \"inline\" : \"(Matcher m = /[a-zA-Z0-9_.\\\\/]*(?=\\\\b[\\\\;\\\\?\\\\&]|.*)/.matcher(doc['request'].value);\\nif(m.find()) {\\n return m.group();\\n}) == params.value\",\n \"lang\" : \"painless\",\n \"params\" : {\n \"value\" : \"/myapp/bla/action1\"\n }\n },\n \"boost\" : 1.0\n }\n },\n {\n \"range\" : {\n \"@timestamp\" : {\n \"from\" : null,\n \"to\" : null,\n \"include_lower\" : true,\n \"include_upper\" : true,\n \"format\" : \"epoch_millis\",\n \"boost\" : 1.0\n }\n }\n }\n ],\n \"disable_coord\" : false,\n \"adjust_pure_negative\" : true,\n \"boost\" : 1.0\n }\n}","index_uuid":"hOxEzQiIQs6kdn_nbluQmA","index":"myapp-2016.11.30","caused_by":{"type":"script_exception","reason":"compile error","caused_by":{"type":"illegal_argument_exception","reason":"invalid sequence of tokens near ['m'].","caused_by":{"type":"no_viable_alt_exception","reason":"no_viable_alt_exception: null"}},"script_stack":["(Matcher m = /[a-zA-Z0-9_.\\/]*(?=\\ ..."," ^---- HERE"],"script":"(Matcher m = /[a-zA-Z0-9_.\\/]*(?=\\b[\\;\\?\\&]|.*)/.matcher(doc['request'].value);\nif(m.find()) {\n return m.group();\n}) == params.value","lang":"painless"}}},"status":400}
- [...]
Advertisement
Add Comment
Please, Sign In to add comment