All Projects → SeasX → SeasStashPHP

SeasX / SeasStashPHP

Licence: Apache-2.0 license
SeasLog -> Swoole -> ClickHouse

Programming Languages

PHP
23972 projects - #3 most used programming language
Dockerfile
14818 projects
python
139335 projects - #7 most used programming language

SeasStashPHP

SeasLog -> Swoole -> ClickHouse

快速启动

  • 安装docker和docker-compose
  • 创建docker网络docker network create SeasStash
  • cd 到项目根目录执行composer install
  • 启动项目docker-compose up -d

Seaslog配置

日志存储介质 1File 2TCP 3UDP (默认为1)
  • seaslog.appender = 2或3
接收ip 默认127.0.0.1 (当使用TCP或UDP时必填)
  • seaslog.remote_host = "SeasStashPHP所在机器的IP"
接收端口 默认514 (当使用TCP或UDP时必填)
  • seaslog.remote_port = 514 TCP
  • seaslog.remote_port = 5014 UDP

默认配置

  1. 默认数据库名seaslog表名logs

  2. 模板配置,Clickhouse数据库表根据此模板创建seaslog.default_template = "%T | %L | %R | %m | %I | %Q | %F | %U | %M"

  3. 日期格式seaslog.default_datetime_format = "Y-m-d H:i:s"

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].