Comments (5)
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.
We manage many elasticsearch clusters and they are all protected by authentication.
The possible solutions for elasticsearch authentication are:
- the "basic" version of elasticsearch, xpack: https://www.elastic.co/guide/en/elasticsearch/reference/current/setting-up-authentication.html
- the open source readonlyrest plugin: https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/
- any http reverse proxy if you only need to control access to the service.
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.
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.
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.
It works, thank you!
:)
from openstreetmap.
Related Issues (20)
- import of openstreetmap data finished with some errors HOT 4
- bbox limit is ignored by Pelias HOT 1
- Cannot import filtered dataset HOT 2
- duplicate terms in name affecting scoring HOT 3
- An in-range update of pelias-config is breaking the build 🚨 HOT 2
- An in-range update of pelias-config is breaking the build 🚨 HOT 1
- importVenues option do not work HOT 6
- An in-range update of pelias-wof-admin-lookup is breaking the build 🚨 HOT 3
- An in-range update of pelias-wof-admin-lookup is breaking the build 🚨 HOT 2
- Remove broadcast antennas and other TV towers? HOT 2
- New venue_tags + additional names HOT 3
- "PeliasModelError: invalid regex test" during OSM extract import HOT 2
- Allow configuring whether disused/abandoned venues are removed HOT 1
- unable to locate sqlite folder HOT 2
- NPM install failing with Error: Missing required argument #1 HOT 2
- OSM records with 'constructor' tag result in invalid Pelias documents HOT 2
- Consider importing Brand alt names
- "Invalid regex" error about source=https://... tag HOT 2
- Category does not get mapped as defined in category_map.js HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstreetmap.