STEP 1: Install Clickhouse
Install Node.js
STEP 2:Install qryn
STEP 3:STEP 4: Install grafana-server
apt-get install -y apt-transport-https software-properties-common wget
mkdir -p /etc/apt/keyrings/
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
apt-get install -y apt-transport-https software-properties-common wget
mkdir -p /etc/apt/keyrings/
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
Updates the list of available packages
sudo apt-get update
Installs the latest OSS release:
sudo apt-get install grafana
systemctl daemon-reload
systemctl enable grafana-server
systemctl start grafana-server
Access Grafana UI with the following URL
Username: admin
Password: admin
Add Loki Plugin and configure it with qryn-server
Open Menu --> Admisinstration --> Plugins --> Search "Loki" --> Install
Now add Loki as data source
Open Menu --> Connections --> Data Source --> Click "Add New Data Source" --> Select "Loki"
Basic Auth
Username: default
Password: Clickpass
Click "Save and test"
Now to go Open Menu --> Explore
and try Searching Logs
Make sure you have also configured grafana-agent / vector to send logs to qryn.
No comments:
Post a Comment