Questions tagged [search-guard]

38 questions
1
vote
1 answer

User level access control in Kibana dashboard

I need to create a dashboard for some reports and my first approach was ES/kibana but I need user based access to the dashboard and user should be able to see just his data, more like a token based access. I know using shield we can have index level…
pkumar
  • 4,743
  • 2
  • 19
  • 21
0
votes
1 answer

What is the use of data/read/scroll/clear permission in OpenDistro elastic-search?

The documentation page is 100% silent about all the permissions. How do we know what each permission is meant to do? I am specifically interested in the data/read/scroll/clear permission
user2250246
  • 3,807
  • 5
  • 43
  • 71
0
votes
1 answer

Search Guard not initialized (SG11)

I'm running Elasticsearch (floragunncom/sg-elasticsearch:7.1.1-oss-35.0.0) on the Kubernetes cluster. To change the default password of internal user admin, I have updated the hash for the admin user in…
Kamol Hasan
  • 12,218
  • 1
  • 37
  • 46
0
votes
1 answer

Elasticsearch filter access using a regexp in a dls (document-level security) query

I am trying to control read access to an index using DLS, based on matching the host field with a given regexp. Documentation for this is limited and I haven't found any examples that use a regexp. I've tried a few different things but at this…
GL2014
  • 6,016
  • 4
  • 15
  • 22
0
votes
2 answers

High disk watermark [90%] exceeded on [...], shards will be relocated away from this node

I'm running Elasicsearch (floragunncom/sg-elasticsearch:7.0.1-oss-35.0.0) on kubernetes cluster(v1.18 - kind). I've assigned each Elasticsearch data node (ie. pod) with 200Mi of PVC as storage. But when the elasticseach cluster(3 master, 3 data, 2…
Kamol Hasan
  • 12,218
  • 1
  • 37
  • 46
0
votes
1 answer

Elasticsearch is not starting for Search Guard error

I'm trying to configure Search Guard admin. here is my elasticsearch.yml configurations: searchguard.ssl.transport.pemcert_filepath:…
Shuvo
  • 3
  • 4
0
votes
1 answer

Problems ELK : ElasticSearch + kibana + Searchguard

im very new in the world of ELK, I have installed a new and clean ubuntu 18.0 server, I have downloaded and installed elasticsearch version 7.6.0 and kibana 7.6.0, after basically configuring it: elasticsearch.yml path.data:…
r.jara
  • 11
  • 1
0
votes
1 answer

Allow Angular to ignore some URLs

My application with Angular is on example.com and my backend is on example.com/api. My problem is when I want to send a request to the server with the URL https://example.com/api/login/get-cookie, I get an error of HttpErrorResponse. I have just…
xRay
  • 543
  • 1
  • 5
  • 29
0
votes
0 answers

ElasticSearch, inconsistency between size and count/search?

I created and indexed some docs in ES via curl POST. When I GET 'myhost/_cat/indices?v', I can see my index and count ~95000 and store.size ~20mb. But when I GET 'myhost/myindex/_count' it returns 0. Or I GET 'myhost/myindex/_search?q=:' then it…
mehmet sahin
  • 802
  • 7
  • 21
0
votes
1 answer

Searchguard could not be Initialized with error: Root cause: MasterNotDiscoveredException[null]

I use k8s to deploy Elasticsearch. Dockerfile: FROM docker.elastic.co/elasticsearch/elasticsearch:6.3.1 USER elasticsearch RUN elasticsearch-plugin install --batch analysis-kuromoji RUN elasticsearch-plugin install --batch…
0
votes
1 answer

Elasticsearch 7.1 with Search Guard does not let me to restore snapshots

We recently upgraded our Elasticsearch from 6.4.3 to 7.1.1. I migrated the searchguard index and config to the new format. Before the upgrade, I was able to create or restore snapshots, now, after the upgrade, I still can create snapshots, but I'm…
endrec
  • 447
  • 6
  • 17
0
votes
1 answer

Elasticsearch Searchguard configuration for Spring Boot

I try to connect to Elasticsearch with Searchguard from Spring Boot app. I create a bean for TransportClient. It looks like that: Settings settings = Settings.builder() .put(SSLConfigConstants.SEARCHGUARD_SSL_TRANSPORT_KEYSTORE_TYPE, "PKCS12") …
0
votes
1 answer

Difference between X-Pack and SearchGuard in Elasticsearch

I am setting up user authentication when accessing kibana. I would like to have a login prompt whenever user hits the kibana URL. I found x-pack and searchguard manages user authentication, I am not sure of the difference. I am actually using…
xxestter
  • 441
  • 7
  • 19
0
votes
1 answer

Kibana Canvas plugin doesn't works with SearchGuard

I have installed ELK stack with version 6.3.0 and I also install Canvas plugin in Kibana. But it seems does not works because there is authentication issues when Canvas create request to Elasticsearch. I am uses SearchGuard for authentication…
0
votes
0 answers

Unable to restore elasticsearch index snapshot from S3 bucket

I am using Elasticsearch version 6.2.4, its plugins searchguard 6.2.4-12, s3-repository-plugin. SSL is disabled for searchguard in elasticsearch.yml using setting searchguard.ssl.http.enabled: false and snapshot restore is enable for any user on…