Code Monkey home page Code Monkey logo

Comments (5)

missinglink avatar missinglink commented on July 26, 2024

I've been using elasticsearch for about 7 years and never heard of anyone using a username and password.

Can you provide a link to the elastic docs?

from openstreetmap.

 avatar commented on July 26, 2024

We manage many elasticsearch clusters and they are all protected by authentication.

The possible solutions for elasticsearch authentication are:

In my case, I would like to import osm data to an elaasticsearch as a service, provided by elastic: https://www.elastic.co/cloud/

from openstreetmap.

orangejulius avatar orangejulius commented on July 26, 2024

Hi @bquartier,

You can configure a username and passsword in pelias.json, in the esclient property, which also supports any of the other configuration options of the (legacy) elasticsearch-js module: https://github.com/pelias/documentation/blob/master/pelias_from_scratch.md#where-on-the-network-to-find-elasticsearch

from openstreetmap.

orangejulius avatar orangejulius commented on July 26, 2024

Oh boy, looks like Elastic has made it really hard to find the docs that we used to link to on that page.

Let me know if the following config options work for you: https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/16.x/_basic_auth.html

from openstreetmap.

 avatar commented on July 26, 2024

It works, thank you!

:)

from openstreetmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.