У нас на локальном сервере есть рабочий ELK. Я хочу на своей машине Ubuntu 20.04 поставить отдельно filebeat и слать в elastik свои данные.
filebeat.yml поменялся минимально
# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["10.168.1.22:9200"]
# Protocol - either http (default) or https.
#protocol: "https"
# Authentication credentials - either API key or username/password.
#api_key: "id:api_key"
username: "admin"
password: "admin"
мне удается проверить соединение
sudo filebeat test output
elasticsearch: 10.168.1.22:9200...
parse url... OK
connection...
parse host... OK
dns lookup... OK
addresses: 10.168.1.22
dial up... OK
TLS... WARN secure connection disabled
talk to server... OK
version: 7.9.1
Согласно 4-му шагу
документации надо выполнить установку
filebeat setup -e и вот тут проблемы:
Exiting: error initializing publisher: error initializing processors: Unable to get in cluster configuration: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
Причем тут KUBERNETES!? и как можно установить filebeat?