X-Pack is an Elastic Stack extension that bundles security, alerting, monitoring, reporting, and graph capabilities into one easy-to-install package. While the X-Pack components are designed to work together seamlessly, you can easily enable or disable the features you want to use.
Questions tagged [elasticsearch-x-pack]
140 questions
3
votes
1 answer
Elasticsearch TLS error: Empty client certificate chain
AKS Kubernetes version 1.20.7
ES Version: 7.12.0
We are getting 'Empty client certificate chain' (see log trace below)
We enabled TLS (setting below)
We are using self signed certificates, not using elasticsearch-certutil tool
Out certs have…

kjdfkdsf
- 211
- 1
- 3
- 7
3
votes
2 answers
Setting Alerting configuration on Kibana 7.9
I am using basic license for elastic search with on-premises deployment without security.
I want to get started with Alerting and Actions in Kibana 7.9.
I have set xpack.encryptedSavedObjects.encryptionKey value as per documentation here
I restarted…

IgnitedMind
- 307
- 5
- 17
3
votes
1 answer
ES 7.4.1 - Authentication [Rest API]
I’m a newbie in ES and I have a task in my new job to upgrade from 6.4.2 to 7.4.1 – From TCP client to Rest High Level API.
Previously we built the client like this:
Settings settings = Settings.builder()
.put("xpack.security.user",…

AsfK
- 3,328
- 4
- 36
- 73
3
votes
0 answers
How to add IP filter in elastic search using X-Pack, without adding user authentication?
As soon as I remove xpack.security.enabled: false from elasticsearch.yml I start getting Username and Password authentication window, but if I have xpack.security.enabled: false I cannot add IP filter. How do I fix this?
I also tried adding…

Bugs Buggy
- 1,514
- 19
- 39
3
votes
2 answers
How to monitor Elastic Stack without X-Pack?
Can we monitor the elastic stack 6.0 and above(like elastic search..) without using the X-Pack?As we know many of the Features like security, machine learning, graph APIs don't be supported under BASIC(free Licence).
So I want to know if there are…

Jason
- 31
- 1
- 5
3
votes
2 answers
Encrypt / secure Elasticsearch's password in logstash.conf file
I'm using x-pack to secure ELK stack , I don't want to specify plain text "username" and "password" in logstash.conf for elasticsearch output plugin. Is there any way to do that?
output {
elasticsearch {
hosts => "hostname"
user => "username"
…

Shivanshu Bagga
- 105
- 2
- 9
3
votes
1 answer
How to set up default 'elastic' user password while running official Elasticsearch docker image?
I want to use official Elasticsearch docker image via docker-compose.yml as official documentation suggests:
My simplified docker-compose.yml looks like the following:
version: '2'
services:
elasticsearch:
image:…

Oleksii Trekhleb
- 2,543
- 20
- 22
3
votes
2 answers
How to remotely access Kibana in Elastic
I am currently trying to make my Kibana dashboard remotely accessible via the browser. So, a user can monitor index and run scripts in a remote manner. As background, my elastic is currently ran on Windows server and I could successfully set…

Yohan Chung
- 519
- 1
- 6
- 15
3
votes
1 answer
Elasticsearch & X-Pack: how to get vertices/connections from nested documents
I just started using X-Pack for Elasticsearch and want to connect vertices from a nested document type. However, looking for documentation on this hasn't got me anywhere.
What I have is an index of documents which have person names/ids as nested…

traustid
- 31
- 1
2
votes
2 answers
Elastic Search failed to start after enabling xpack
I am trying to enable xpack in elasticsearch and followed the getting started blog post from elasticsearch site.
Things I did:
I ran this command $/usr/share/elasticsearch/elasticsearch-certutil cert -out config/elastic-certificates.p12 -pass "" …

rooni
- 1,036
- 3
- 17
- 33
2
votes
1 answer
Where does elasticsearch certificates located
I want to implement xpack security. The below code that I put in elasticsearch.yml. But I get an error that certificate does not exist. I have checked all directories in node, there is no elastic-certificates.p12. How can i solve this ? And how can…

Orkun
- 492
- 4
- 16
2
votes
1 answer
Kuzzle: Using X-pack to connect with Elasticsearch
I'm trying to use Kuzzle with X-pack authentication enabled on Elasticsearch.
I've tried looking through the documentation of Kuzzle and I'm assuming the X-pack password should be stored in the secrets vault and the configuration should be set in…

Pierre Minik
- 33
- 3
2
votes
2 answers
Secure Elastic connection using transport client
Need to connect to a secure elastic search which has https authentication using Transport client in java code. I have userId and password to connect secure elastic. I am using elasticsearch 7.10.0.
try {
Settings settings =…

Atul Thakre
- 502
- 3
- 8
- 24
2
votes
1 answer
missing authentication for rest request elasticsearch
Iam trying to send data to elasticsearch, but when I am doing so, it shows that missing authentication for rest request elasticsearch. I did change the elastisearch.yml file :
xpack.security.enabled: false , but it is still doesn't work

amine errafay
- 21
- 1
- 3
2
votes
1 answer
ElasticSearch xpack.security.enabled: true Error on start
I want to set password to my elasticsearch. I have not paid or started my free-trial so I guess I am using basic plan as default.
I have followed official guide to install elasticsearch on ubuntu EC2.
I don't think I have installed OSS version but…

J.S.C
- 1,323
- 3
- 16
- 22