nreese/kibana-time-plugin

does not even load with logtrail and elastalert plugin (6.5.4)

rubroboletus opened this issue · 0 comments

When trying to install with two more plugins, logtrail and elastalert, it does not even load. Was trying to install it first, last, everytime without success. When I install it alone, all works ok. Using dockerized version with apache http on front. Important part of Dockerfile:

FROM docker.elastic.co/kibana/kibana:6.5.4

WORKDIR /usr/share/kibana

USER root

RUN yum install -y yum-utils &&
yum install -y centos-release-scl epel-release &&
yum -y --setopt=tsflags=nodocs update &&
yum -y --setopt=tsflags=nodocs install git gcc-c++ make &&
curl -sL https://rpm.nodesource.com/setup_10.x | bash - &&
yum -y --setopt=tsflags=nodocs install nodejs &&
npm install -g bower &&
yum -y --setopt=tsflags=nodocs install httpd24 httpd24-libnghttp2 httpd24-mod_ldap &&
ldconfig &&
/usr/share/kibana/bin/kibana-plugin install https://github.com/bitsensor/elastalert-kibana-plugin/releases/download/1.0.1/elastalert-kibana-plugin-1.0.1-6.5.4.zip &&
echo "elastalert-kibana-plugin.serverHost: kibana-elastalert" >> /usr/share/kibana/config/kibana.yml &&
echo "elastalert-kibana-plugin.serverPort: 3030" >> /usr/share/kibana/config/kibana.yml &&
echo "xpack.security.enabled: false" >> /usr/share/kibana/config/kibana.yml &&
/usr/share/kibana/bin/kibana-plugin install https://github.com/sivasamyk/logtrail/releases/download/v0.1.30/logtrail-6.5.4-0.1.30.zip &&
rm -rf /usr/share/kibana/optimize/bundles /usr/share/kibana/optimize/.babel-cache.json &&
cd plugins &&
git clone https://github.com/nreese/kibana-time-plugin.git &&
cd kibana-time-plugin &&
git checkout 6.5 &&
bower install --allow-root &&
sed -i 's/"kibana"/"6.5.4"/' package.json &&
cd /usr/share/kibana &&
npm update caniuse-lite browserslist &&
rm -rf /usr/share/kibana/optimize/bundles /usr/share/kibana/optimize/.babel-cache.json &&
yum remove -y nodejs git gcc-c++ make cpp gcc glibc-devel glibc-headers kernel-headers libgomp libmpc libstdc++-devel mpfr fipscheck groff-base openssh openssh-clients rsync &&
yum clean all &&
ldconfig &&
rm -rf /var/cache/yum

EXPOSE 80