Debugging
-
Celery — Received and deleted unknown message. Wrong destination?!?
.
Root cause: in my case it was a discrepancy between the client (who pushes tasks) and the worker ( who received…
-
How to install Python3-Celery executable in Debian 9?
.
To install the Celery executable (or celery daemon) for Python3, install the following package: apt-get install celeryd It is important to…
-
Upgrading to Ubuntu 20.04 broke my Vim YouCompleteMe
.
YCM ceased working after Ubuntu upgrade.To make it work again, you need to use the vim-youcompleteme that comes from the apt…
-
Prometheus, how to solve “error: unknown short flag ‘-c’, try –help”
.
If you’ve got this error, this is probably because you are using the sintax of an old configuration file. This is solved…
-
How to make SSL work for MariaDB
.
First, follow this tutorial: https://www.cyberciti.biz/faq/how-to-setup-mariadb-ssl-and-secure-connections-from-clients/ Second, the only thing missing from that tutorial is this: In the client, in the section…
-
How to solve Gitlab’s ‘Error loading key “(stdin)”: invalid format’
.
If you receive an error like this in your CICD pipeline $ echo “${GITLAB_CI_SSHKEY}” | ssh-add – > /dev/null Identity added:…
-
How to start a Raspberry Pi in Grafana and disable screensaver
.
sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart Paste this: @xset s 0 0 @xset s noblank @xset s noexpose @xset dpms 0 0 0 @/usr/bin/chromium-browser…
-
jq replacing contents with a variable in bash, for ElasticSearch queries
.
THe trick for replacing a variable inside a json in bash is the following: close the single quotes (‘), put your…
-
How to make Filebeat’s include_lines work!
.
The key to make include_lines work is to understand that (1) Filebeat uses its own set of regular expressions and (2)…
-
The secret to making Filebeat faster!
.
I used to complain about how slow Filebeat is after restarting. I did not want to restart Filebeat because my ELK…
-
Containers listen on default ports despite you don’t publish them
.
This is a very weird phenomenon that I found out the other day. When people make container images they usually EXPOSE…
-
Mastering Filebeat
.
Filebeat is the program that crawls your logs in a certain folder or file that you specify, and sends these logs…
-
Logstash introduction and tips
.
Why Logstash? Logs are text, Logstash converts that text into useful data and then helps you ingest it into ElasticSearch or…
-
Tips to improve your GROKing skills
.
Logstash’s GROK is the heart of the ELK stack. You must master this skill in order to be proficient in the…