Elastic Search Auhentication
Budget: ₹600 – ₹1,500 INR
xpack.security.enabled: true
xpack.security.authc.api_key.enabled: true
userid and PWD is set
from NODE.JS authentication is not happening with elasticsearch
const es = require('elasticsearch');
const esClient = new es.Client({
host: 'localhost:9200',
log: 'trace',
auth: {
username: 'elastic',
password: 'elastic',
apiKey: 'aaaaaaaaaaaaaaaaa'
}
});
module.exports = esClient;
throw error
xpack.security.authc.api_key.enabled: true
userid and PWD is set
from NODE.JS authentication is not happening with elasticsearch
const es = require('elasticsearch');
const esClient = new es.Client({
host: 'localhost:9200',
log: 'trace',
auth: {
username: 'elastic',
password: 'elastic',
apiKey: 'aaaaaaaaaaaaaaaaa'
}
});
module.exports = esClient;
throw error