https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html
apt install gpg
wget -qO - https://nexus.uclv.edu.cu/repository/artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
apt-get install apt-transport-https
echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://nexus.uclv.edu.cu/repository/artifacts.elastic.co/packages/8.x/apt stable main" | tee /etc/apt/sources.list.d/elastic-8.x.list
apt-get update
apt-get install elasticsearch
configuracion esplicada en:
https://filipporigoni.medium.com/install-elk-stack-8-on-debian-12-37d52c824d3a
y posterior union a un kibana