Hi,
I’m using:
- opendistro report plugin v1.12.0.0 (master branch ),
- on kibana and elasticseach 7.10.0.
- I’m under “all_access” role.
Plugin doesn’t work::
- when I choose a visualisation, dash board, search, i have the following message :when create report:
“one or more fields have an error , please check and try again”. - but when I visualize thoses objects there is no problems
Sometimes when I start report plugin I have : Error generating reprot definition table
Here are the errors detected in kibana console
‘’’
{“type”:“log”,“@timestamp”:“2021-01-27T08:11:19Z”,“tags”:[“warning”,“plugins”,“usageCollection”,“collector-set”],“pid”:1,“message”:“{ Error: [security_exception] no permissions for [indices:data/read/search] and User [name=kibanaserver, backend_roles=, requestedTenant=null]\n at respond (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)\n at checkRespForFailure (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)\n at HttpConnector. (/usr/share/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)\n at IncomingMessage.wrapper (/usr/share/kibana/node_modules/lodash/lodash.js:4949:19)\n at IncomingMessage.emit (events.js:203:15)\n at endReadableNT (_stream_readable.js:1145:12)\n at process._tickCallback (internal/process/next_tick.js:63:19)\n status: 403,\n displayName: ‘AuthorizationException’,\n message:\n ‘[security_exception] no permissions for [indices:data/read/search] and User [name=kibanaserver, backend_roles=, requestedTenant=null]’,\n path: ‘/.monitoring-es-6-%2C.monitoring-es-7-/_search’,\n query:\n { filter_path:\n ‘hits.hits._source.cluster_settings.cluster.metadata.display_name,hits.hits._source.cluster_uuid,hits.hits._source.cluster_name’ },\n body:\n { error:\n { root_cause: [Array],\n type: ‘security_exception’,\n reason:\n ‘no permissions for [indices:data/read/search] and User [name=kibanaserver, backend_roles=, requestedTenant=null]’ },\n status: 403 },\n statusCode: 403,\n response:\n ‘{"error":{"root_cause":[{"type":"security_exception","reason":"no permissions for [indices:data/read/search] and User [name=kibanaserver, backend_roles=, requestedTenant=null]"}],"type":"security_exception","reason":"no permissions for [indices:data/read/search] and User [name=kibanaserver, backend_roles=, requestedTenant=null]"},"status":403}’,\n toString: [Function],\n toJSON: [Function] }”}
‘’’
And also
{“type”:“log”,“@timestamp”:“2021-01-27T08:08:26Z”,“tags”:[“error”,“plugins”,“opendistroReportsKibana”],“pid”:1,“message”:“Failed to get reports details: [illegal_argument_exception] request [/_opendistro/_reports/instances] contains unrecognized parameter: [maxItems] :: {"path":"/_opendistro/_reports/instances","query":{"maxItems":10000},"statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"request [/_opendistro/_reports/instances] contains unrecognized parameter: [maxItems]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"request [/_opendistro/_reports/instances] contains unrecognized parameter: [maxItems]\"},\"status\":400}"}”}
An idea for this problem ?
Thanks