Kibana wont import visualizations and dashboards

Im moving from the regular ELK stack to opendistro and i have some of the metricbeat and personal dashbaords and visualizations but whenever i try to import them into kibana it just says failed to import, i tried with both .json and .ndjson files.

And whenever i try to use the command: metricbeat setup in my servers for metricbeat to import the dashbaords and visualizations i get this error:

Exiting: request checking for ILM availability failed: 500 Internal Server Error: {"error":{"root_cause":[{"type":"security_exception","reason":"Unexpected exception indices:admin/get"}],"type":"security_exception","reason":"Unexpected exception indices:admin/get"},"status":500} 

can anyone please help me, im really stuck here!

hi, @ghaith
Try to add setup.ilm.enabled: false into metricbeat.yml configuration file.

Hi @ogulman i tried that but with no success sadly, i keep getting the same error, any ideas why?

You using oss version of metricbeat?

yup i got it from this link: https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-oss-7.5.0-amd64.deb