All checks were successful
continuous-integration/drone/push Build is passing
将 doc/ 目录重组为更标准的结构: 目录变更: - doc/ → docs/ (文档目录,只包含 .md 文件) - doc/sql/ → database/ (数据库脚本目录) - database/bladex/ (BladeX 框架数据库) - database/flowable/ (Flowable 工作流数据库) - database/martial-db/ (武术系统业务数据库) - database/upgrade/ (数据库升级脚本) - doc/script/ → scripts/ (部署和运维脚本) - scripts/docker/ (Docker 部署脚本) - scripts/fatjar/ (Fat JAR 启动脚本) 优势: - 符合标准项目结构规范 - 文档、数据库、脚本分离更清晰 - 便于维护和查找 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
770 B
YAML
38 lines
770 B
YAML
filebeat.inputs:
|
|
- type: log
|
|
enabled: true
|
|
paths:
|
|
# 当前目录下的所有.log文件
|
|
- /home/project/elk/logs/*.log
|
|
multiline.pattern: ^\[
|
|
multiline.negate: true
|
|
multiline.match: after
|
|
- type: tcp
|
|
enabled: true
|
|
max_message_size: 10MiB
|
|
host: "0.0.0.0:9000"
|
|
|
|
filebeat.config.modules:
|
|
path: ${path.config}/modules.d/*.yml
|
|
reload.enabled: false
|
|
|
|
setup.template.settings:
|
|
index.number_of_shards: 1
|
|
|
|
setup.dashboards.enabled: false
|
|
|
|
setup.kibana:
|
|
host: "http://kibana:5601"
|
|
|
|
# 不直接传输至ES
|
|
#output.elasticsearch:
|
|
# hosts: ["http://es-master:9200"]
|
|
# index: "filebeat-%{[beat.version]}-%{+yyyy.MM.dd}"
|
|
|
|
output.logstash:
|
|
hosts: ["logstash:5044"]
|
|
|
|
processors:
|
|
- add_host_metadata: ~
|
|
- add_cloud_metadata: ~
|