Think before you speak, read before you think.

Category: Filebeat

  • filebeat 遇到的问题

    文件描述符不够 在 systemd 的配置文件 filebeat.service 中,配置 limit [Unit] Description=Filebeat sends log files to Logstash or directly to Elasticsearch. Documentation=https://www.elastic.co/products/beats/filebeat Wants=network-online.target After=network-online.target [Service] ExecStart=/usr/share/filebeat/bin/filebeat -c /etc/filebeat/filebeat.yml -path.home /usr/share/filebeat -path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs /var/log/filebeat Restart=always LimitNOFILE=1000000 LimitNPROC=1000000 [Install] WantedBy=multi-user.target