I am having issues connecting to one of our elastic databases. The error I am getting is
Failed to obtain any schemas from reader 'ELASTICSEARCH' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading.
Any ideas what how to fix.
Best answer by jakemolnar
What is the version of your Elasticsearch server? FME currently only supports versions 6.8 and lower. You can check this by visiting your server root page in a browser (example: http://my.server.name:9200/).
What is the version of your Elasticsearch server? FME currently only supports versions 6.8 and lower. You can check this by visiting your server root page in a browser (example: http://my.server.name:9200/).
What is the version of your Elasticsearch server? FME currently only supports versions 6.8 and lower. You can check this by visiting your server root page in a browser (example: http://my.server.name:9200/).
I've seen in the change log of fme desktop 2021 beta (Build 21214) that elastic 7+ is supported. So i've dowloaded it and tried to connect to an elasticsearch 7.9.1, but it doesn't work. Do you have any information of when it will be fixed and if it will work for all 7+ versions (7.9.1 included) ?
I've seen in the change log of fme desktop 2021 beta (Build 21214) that elastic 7+ is supported. So i've dowloaded it and tried to connect to an elasticsearch 7.9.1, but it doesn't work. Do you have any information of when it will be fixed and if it will work for all 7+ versions (7.9.1 included) ?
@miay did you add a new Elasticsearch Reader?
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
I've seen in the change log of fme desktop 2021 beta (Build 21214) that elastic 7+ is supported. So i've dowloaded it and tried to connect to an elasticsearch 7.9.1, but it doesn't work. Do you have any information of when it will be fixed and if it will work for all 7+ versions (7.9.1 included) ?
@miay I had the same issue and logged a support case for it.
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
Yes, i used the new Elasticsearch reader. We use Elasticsearch 7.9. 1. I can create a workspace and send you the logs.
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
@miay Sounds great, that would be very helpful. Any information about your server configuration would also be helpful (eg. Do you have authentication set up? Are you accessing through a proxy? Do you host the server yourself, or is it on AWS for example? etc. etc.)
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
Hi,
We host the elastic stack.
The fme desktop 2020 beta is installed in a virtual pc within our network.
I can access elastic/kibana from chrome without problems.
I get this error message when i click on the button at the right of "Feature types to read":
The text that appears in the log is: Creating reader for format: Elastic Elasticsearch
Trying to find a DYNAMIC plugin for reader named `ELASTICSEARCH_CLUSTER'
Loaded module 'ELASTICSEARCH_CLUSTER' from file 'C:\\Program Files\\FME2021\\plugins/gdal/GDAL.dll'
FME API version of module 'ELASTICSEARCH_CLUSTER' matches current internal version (3.8 20200922)
Creating reader for format: Elastic Elasticsearch
Trying to find a DYNAMIC plugin for reader named `ELASTICSEARCH_CLUSTER'
FME API version of module 'ELASTICSEARCH_CLUSTER' matches current internal version (3.8 20200922)
Creating reader for format: Elastic Elasticsearch
Trying to find a DYNAMIC plugin for reader named `ELASTICSEARCH_CLUSTER'
FME API version of module 'ELASTICSEARCH_CLUSTER' matches current internal version (3.8 20200922)
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
If so, are there any lines that were red in color? If this is the entire log, then it indicates there may a problem with the configuration of the new Elasticsearch plugin in the beta; unlicensed, missing binaries, something like that.
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
Hi, thanks for your answer.
Sorry, i might missed out to explain that i experience the problem when i set up the Elastic reader or featurereader, and click on the button at the right of "features type to read". The reader cannot access the indices in Elastic. So i actually don't have anything to run, and therefore no contents in the log.
Regarding the licensing, i've connected to our license server.
Regarding proxy, we don't need to go through a proxy.
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
Interesting.. @miay and @bubblebeb, you both also tried the old Elasticsearch reader, right?
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
Thanks @bubblebeb, that will be really helpful for me. I'll be able to replicate your setup and see what's going wrong.
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
Thanks @miay, I think I've probably found the problem with your help (and that of @bubblebeb).
Just to follow up on some probable lines of inquiry: are your Elasticsearch deployments username/password protected?
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
@miay and @bubblebeb that's great; that lines up with the evidence I've observed on my end. That means I've likely fixed the issue that was giving you trouble, and I imagine the fix will make it into a beta soon. You can keep an eye out for a change that mentions Elasticsearch in https://downloads.safe.com/fme/beta/whatsnew_2021_0.txt
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
In the beta there should be a old Elasticsearch Reader (deprecated, supports versions 6.8 and lower) and a new Elasticsearch Reader (supports version 7+).
If it doesn't work, then we would definitely want to know. Do you have any logs or workspaces you can share?
@bubblebeb that's strange; our QA department verified that we are able to connect to an AWS-hosted and password-protected cluster now.
I've seen this kind of error when the cluster is completely empty; do you have any indices created?
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.