Closed johnjfox closed 6 years ago
I don't have any experience with ElasticCloud - how are you connect at the moment?
Try this:
match_all_query <- query('{
"match_all": {}
}')
And then:
elastic('https://your_username:your_password@ec47fc4d2c53414e1307e85726d4b9bb.us-east-1.aws.found.io:9243', your_index) %search% (match_all_query)
Replace the above example with your ES cloud API address and your username, password and index name. NOTE: Elastic 6.X does not support document types.
Thanks!!!! I’ll try that
On May 9, 2018, at 8:42 AM, John Sobanski notifications@github.com wrote:
Try this:
match_all_query <- query('{ "match_all": {} }') And then:
elastic('https://your_username:your_password@ec47fc4d2c53414e1307e85726d4b9bb.us-east-1.aws.found.io:9243', your_index) %search% (match_all_query) Replace the above example with your ES cloud API address and your username, password and index name. NOTE: Elastic 6.X does not support document types.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AlexIoannides/elasticsearchr/issues/39#issuecomment-387725550, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGNKf-Fza9-lS0oUz-VmcJ7BMzcaRZ5ks5twuQmgaJpZM4T3LHB.
Thanks for chipping-in John!
Hey Alex
For what it’s worth, I’m not sure this is closed. Embedding the username:password in the URL resulted in an error. I haven’t had a chance to really look at it though to make sure it wasn’t something foolish on my side or post a follow up. Do you know for sure that the proposed solution works?
John
On May 11, 2018, at 3:47 PM, Alex Ioannides notifications@github.com wrote:
Closed #39 https://github.com/AlexIoannides/elasticsearchr/issues/39.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AlexIoannides/elasticsearchr/issues/39#event-1622660601, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGNKYZJ-PXBV0LIY-sRMKxc0weUOkf9ks5txerUgaJpZM4T3LHB.
@johnjfox - Hove you tried to CURL your endpoint from the command line? What URL do you use?
I'm sure I'm missing it, but how do I add username / password fo, for example, I can connect to an elastic cloud based instance?