# graylog **Repository Path**: piao/graylog ## Basic Information - **Project Name**: graylog - **Description**: 日志通过udp传输到graylog日志收集器 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-30 - **Last Updated**: 2023-10-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: graylog, Go语言 ## README ## graylog graylog是一个简单易用、功能较全面的日志管理工具,graylog采用Elasticsearch或OpenSearch作为存储和索引以保障性能。 用UDP/TCP协议将日志传输到 graylog 日志接收器。 ## 使用 pwgen Mac安装 ``` brew install pwgen ``` pwgen Centos安装 ``` yum install pwgen ``` 配置环境变量 GRAYLOG_PASSWORD_SECRET and GRAYLOG_ROOT_PASSWORD_SHA2 生成密钥配置 GRAYLOG_PASSWORD_SECRET ``` pwgen -N 1 -s 96 ``` 生成web登录密钥配置 GRAYLOG_ROOT_PASSWORD_SHA2 ``` echo -n "Enter Password: " && head -1