When asking questions, please provide the following information:
- Search Guard and Elasticsearch version
SG 6.5.1-16, ELK 6.5.1
- Installed and used enterprise modules, if any
none
- JVM version and operating system version
debian, docker
- Search Guard configuration files
demo config files from searchguard site
- Elasticsearch log messages on debug level
Docker file:
GitHub - elastic/kibana-docker: Official Kibana Docker image
FROM docker.elastic.co/kibana/kibana:6.5.1
Add your kibana plugins setup here
Example: RUN kibana-plugin install <name|url>
COPY /search-guard-kibana-plugin-6.5.1-16.zip /usr/temp/search-guard-kibana-plugin-6.5.1-16.zip
RUN kibana-plugin install file:///usr/temp/search-guard-kibana-plugin-6.5.1-16.zip
``
Docker debug logs :
Building kibana
Step 1/3 : FROM docker.elastic.co/kibana/kibana:6.5.1
—> afcfde4729b0
Step 2/3 : COPY /search-guard-kibana-plugin-6.5.1-16.zip /usr/temp/search-guard-kibana-plugin-6.5.1-16.zip
—> 6a50c5b9925a
Step 3/3 : RUN kibana-plugin install file:///usr/temp/search-guard-kibana-plugin-6.5.1-16.zip
—> Running in 58090f2e23a6
Attempting to transfer from file:///usr/temp/search-guard-kibana-plugin-6.5.1-16.zip
Transferring 2059943 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…
Plugin installation was unsuccessful due to error "Command failed: /usr/share/kibana/node/bin/node /usr/share/kibana/src/cli --env.name=production --optimize.useBundleCache=false --server.autoListen=false --plugins.initialize=false
(node:16) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
{“type”:“log”,“@timestamp”:“2018-11-30T10:36:40Z”,“tags”:[“info”,“optimize”],“pid”:16,“message”:“Optimizing and caching bundles for ml, stateSessionStorageRedirect, status_page, timelion, graph, monitoring, space_selector, login, logout, dashboardViewer, apm, canvas, infra, kibana, searchguard-login, searchguard-customerror, searchguard-multitenancy, searchguard-accountinfo and searchguard-configuration. This may take a few minutes”}
"
ERROR: Service ‘kibana’ failed to build: The command ‘/bin/sh -c kibana-plugin install file:///usr/temp/search-guard-kibana-plugin-6.5.1-16.zip’ returned a non-zero code: 70
``
- Other installed Elasticsearch or Kibana plugins, if any
no
I have tried installing newest version of Search Guard on newest ELK stack 6.5.1 without success. Plugin for logstash installs correctly but plugin for Kibana fails everytime. I did try to install it using this repo GitHub - deviantony/docker-elk at searchguard
Online installation did not work and gave the same result so just in case second attempt was to do it offline as you can see in above logs. Neither method worked and I have no idea why. Would be gratefull for some hint or help with this issue.