Host name for ElasticSearch Connector?
Hello, I am trying to set up an account for the premade ElasticSearch Connector. This connector requires three fields: Host, Username, and Password. I have a working username, password, and URL for manually logging into Elastic, however I have not been able to come up with a working permutation of the URL to use in the "Host" field.
If anyone has gotten this connector working, could you share an example of what the Host name should look like?
Answers
-
@mlee It would be a custom URL where your ElasticSearch is hosted, with a port number on the end of it. I've seen ones like these used in the past "https://example.us-west-1.aws.cloud.es.io:9243" or "https://12a234b45c678d7899d.us-west-1.aws.found.io:9243"
If I have answered your question, please click "Yes" on my comment option.
0 -
Thank you for your response, TDanis! Unfortunately, that format is not working for me in the connector.
The original URL sent to me looked like this: https://aaa.aaa.aa.region.aa.aa.es.io:9243/app/aa/a/
I am still able to manually log in when I shorten it to: https://aaa.aaa.aa.region.aa.aa.es.io:9243 - to match your example.
However, neither of these are working in the connector. I've verified that I did not paste in any extra spaces in the username and password. Both of these contain at least one @ symbol, is there any chance that could be an issue? I have a support ticket open on this as well, and I'll let them know that you've seen this connector work with that format in the Host field.
Here is the error that I am getting: Failed to authenticate. Verify the credentials and try again. Domo is ready, but the credentials you entered are invalid. Verify your account credentials and try again.
0 -
Another thing just occurred to me - is there more than one Elastic product? Maybe the connector is not for the same service that I have a login for.
0 -
@mlee There is only one ElasticSeach connector. That's good you have a support case. Engineering will likely need your credentials to debug the connector. We typically only see issues with escape characters being used in password fields. The only thing I could think of is if there is an IP restriction on that server but if you can log in and they didn't need your IP that's probably not it. https://domo-support.domo.com/s/article/360043630093?language=en_US
If I have answered your question, please click "Yes" on my comment option.
0 -
Thank you, I've updated my ticket to request help from the engineering team.
0 -
Updating here in case anyone else has this issue.
Mine worked using Host Name: api.elastic-cloud.com
0 -
were you able to pull data using that hostname. I saw that listed on https://www.elastic.co/guide/en/cloud/current/ec-restful-api.html I wasn't sure if that was to just to be able to execute tasks.
If I have answered your question, please click "Yes" on my comment option.
0 -
At the moment, I do not have experience with using/navigating Elastic or the field names that we need to bring in, so I have not yet tried to pull anything. I'll update here again when I test, and I'll edit my previous post if I find that I can't pull data.
0 -
I am working on this again, it took a while for me to get the Index name, and I'm now attempting to pull some data. I am still a bit unsure if I entered my query correctly, but, based on the error message, the issue seems to be elsewhere.
I am getting this error - could this be related to the concern that was mentioned earlier? I am blocking out the index name with [indexName], which I tried with and without a "." at the start
404 : Not Found : Error calling https://api.elastic-cloud.com/[indexName]/_search
Here is the query that I entered:
{
"query": {
"match_phrase": {
"message": "Impression"
}
}
}0 -
@mlee Here is a documentation link that will be helpful in creating your search query
0 -
Thank you, I'm reaching out for some more help with this. I don't have enough of a grasp of the data structure and field names to apply this information
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 296 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive