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
1
vote
1 answer
elasticsearch - there is no setup-passwords bin in x-pack directory
I use
brew install elasticsearch
and
elasticsearch-plugin install x-pack
The x-pack path is /usr/local/Cellar/elasticsearch/6.2.4/libexec/plugins/x-pack
But, there is no setup-passwords in this path
☁ ~ ls…

Lin Du
- 88,126
- 95
- 281
- 483
1
vote
0 answers
Create an Elastic Watcher for percentile difference of a field between two days
I am not able to perform nested aggregation in a specific date range.
Ideally, I would want to get % values of two fields for the previous day and the current day. Here's the JSON (this is a part of the elastic watcher and not the whole config):
{
…

Shantanu Deshpande
- 508
- 1
- 8
- 17
1
vote
1 answer
action [clustering/cluster] is unauthorized for user [elastic]
Elasticsearch has three nodes in my cluster, I am using plugin elasticsearch-carrot2, and elastic is a superuser in elasticsearch.
The requests I sent is below:
curl -XPOST --user elastic:**** -H "Content-Type: application/json"
…

Alex Xu
- 29
- 1
- 9
1
vote
0 answers
Can't get Centralized pipeline management working in ELastic Cloud X-pack
I'm trying to set Centralized pipeline management but it is still not working.
I'm using Elastic Cloud trial version and Logstash running on a local vm
my logstash.yml looks like:
xpack.management.elasticsearch.url:…

Jo frey
- 25
- 5
1
vote
3 answers
Spring boot connect to Elasticsearch with basic authentication
Overview:
I tried non-secure connection between API and my local elasticsearch and everything worked well. To do securing connection, I did the following steps to add xpack plugin on my elastic and used it in the api:
From the elastic part, I…

saeedj
- 2,179
- 9
- 25
- 38
1
vote
1 answer
How to use username and password (no SSL) in Java client to connect to Elasticsearch?
I am learning Elasticsearch (6.1.3) to use it in a Java-based web application.
I have installed X-Pack. Now I need to know how to program in the Java client by simply providing username and password without using SSL. I found out this page is…

curious1
- 14,155
- 37
- 130
- 231
1
vote
1 answer
Unable to run set-password in Elasticsearch 6.x (keystore password was incorrect)
I'm setting up a 6.1.2 windows cluster and have a gold license. This is the first machine in the cluster so I have generated a CA cert with a password and placed it in the ES_HOME config directory.
relevant keys from the elasticsearch.yml…

Stephen Patten
- 6,333
- 10
- 50
- 84
1
vote
1 answer
elastic watcher does not attach documents
I am using cloud elastic service and I have watcher entry that will alert me every hour about the count of packetbeat count. The code can be seen here...
https://ghostbin.com/paste/m5jqr
This is working as expected. But the attachment is just the…

shantanuo
- 31,689
- 78
- 245
- 403
1
vote
1 answer
How can I copy a machine learning model from one Elasticsearch server to another?
I'm using Elasticsearch with X-Pack's ML module installed.
I have a machine learning model created on one server, but now I want to transfer that model to another Elasticsearch instance, so that it can be used there without having to re-run the ML…

Brian Pursley
- 1,098
- 7
- 18
1
vote
0 answers
Error while installing X-Pack Plugin
I have installed X-Pack in Elasticsearch (ELK stack).X-pack got installed successfully but while starting the Elasticsearch server I am getting following error:
[ERROR][o.e.x.w.t.a.g.TransportGetWatchAction] [vBqSs5v] failed to get watch…

MinakshiG
- 51
- 2
1
vote
0 answers
Securing Kibana for an internet facing startup
New to Kibana & not an expert in web security. We're trying to build a small startup in which we're leveraging Kibana 5.x for our backoffice analysts for data exploration. This is a webapp and will be accessible over the internet.
Also, X-PACK…

user1189332
- 1,773
- 4
- 26
- 46
1
vote
3 answers
How to install xpack for elasticsearch running on docker?
i'm trying to install xpack on a ELK-Stack.
I will do this with 3 Dockerfiles. At this moment my Dockerfile look like this:
# Orginal Image von elasticsearch laden
FROM docker.marksys.de/elasticsearch:latest
USER root
ADD ./x-pack-5.5.2.zip…

TheLegend31
- 51
- 2
- 11
1
vote
1 answer
query output to email action
I am trying to use watcher API to send alerts.
https://www.elastic.co/guide/en/elasticsearch/reference/5.5/watcher-api-put-watch.html
I am able to set an example as explained above. When I check my mail, I can see the "subject" line correctly. But I…

shantanuo
- 31,689
- 78
- 245
- 403
1
vote
1 answer
Issue with X-Pack installation
I have installed X-Pack on elasticsearch and start elasticsearch using command bin/elasticsearch .
and i have installed X-Pack on kibana and while starting kibana using bin/kibana ,
i’m getting result as mentioned below and kibana is not working…

Ritwik
- 65
- 2
- 11
1
vote
0 answers
Installing X pack on elasticsearch, logstash and kibana
I am new to elasticsearch, logstash and kibana .
I am using Windows
i recently install x-pack plugin by folowing this tutorial :
https://www.elastic.co/guide/en/x-pack/5.1/installing-xpack.html
the main point is :
Go to ES_PATH
elasticsearch-plugin…

abhishek menon
- 11
- 2