setting up opensearch dashboard

opensearch | dashboard | syslog | nginx

install

on the manager node (here opensearch3)

grab latest release

wget https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.11.0/opensearch-dashboards-2.11.0-linux-x64.deb
dpkg -i opensearch-dashboards-2.11.0-linux-x64.deb
rm -f opensearch-dashboards-2.11.0-linux-x64.deb
systemctl daemon-reload

setup

cd /etc/opensearch-dashboards/
mv -i opensearch_dashboards.yml opensearch_dashboards.yml.dist
grep -vE '^#|^$' opensearch_dashboards.yml.dist > opensearch_dashboards.yml.clean
grep -vE '^#|^$' opensearch_dashboards.yml.dist > opensearch_dashboards.yml
ln -s /etc/opensearch-dashboards /usr/share/opensearch-dashboards/config

we don’t change anything there just yet

plugins

switch on

chsh -s /bin/bash opensearch-dashboards
su - opensearch-dashboards

those are already installed

cd /usr/share/opensearch-dashboards/
bin/opensearch-dashboards-plugin list
# --allow-root

if you need more

bin/opensearch-dashboards-plugin install ...

switch off

chsh -s /sbin/nologin opensearch-dashboards

ready to go

nmap -p 9200 localhost
curl https://localhost:9200/ -k -u kibanaserver:kibanaserver
curl https://localhost:9200/ -k -u admin:PASSWORD

systemctl enable opensearch-dashboards
systemctl restart opensearch-dashboards
systemctl status opensearch-dashboards

ps auxww | grep dashboard
netstat -lntup

reach the service

ssh opensearch3 -L 5601:localhost:5601

https://localhost:5601/

operations

not sure why no logs show up there

ls -lF /var/log/opensearch-dashboards/
#tail -F /var/log/opensearch-dashboards/*log

resources

https://opensearch.org/docs/latest/install-and-configure/install-dashboards/debian/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun