Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
filebeat
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
段孔乐
filebeat
Commits
96e30015
Commit
96e30015
authored
Aug 19, 2021
by
段孔乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化部署文档
parent
9376754d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
49 deletions
+16
-49
README.md
README.md
+16
-49
No files found.
README.md
View file @
96e30015
#
# Install
#
Filebeat 部署文档
### 1.
quick install
Download quick install script
### 1.
快速安装
下载快速安装脚本
wget https://gitlab.33.cn/dkl/filebeat/raw/master/filebeat-quick-install.sh
chmod +x filebeat-quick-install.sh
Config logstash host and scan dir
#### 修改脚本,配置安装信息
vim filebeat-quick-install.sh
Run this script
# 参考:测试环境
logstash_host="124.71.144.118:15044"
scan_dir="/data/backend-micro/**/*.log"
env_name="test"
#### 执行脚本
bash filebeat-quick-install.sh
### 2. manual install
Download the installation package and decompress it
wget https://gitlab.33.cn/dkl/filebeat/-/archive/1.0.0/filebeat-1.0.0.tar.gz
tar -zxf filebeat-1.0.0.tar.gz
Config logstash host and scan dir
vim install.sh
Run install.sh
bash install.sh
## status
sudo systemctl status -l filebeat
#### 命令其他信息
# 查看运行状态
systemctl status -l filebeat
# 查看日志
tail -100 logs/filebeat
# Welcome to Filebeat 7.12.0
Filebeat sends log files to Logstash or directly to Elasticsearch.
## Getting Started
To get started with Filebeat, you need to set up Elasticsearch on
your localhost first. After that, start Filebeat with:
./filebeat -c filebeat.yml -e
This will start Filebeat and send the data to your Elasticsearch
instance. To load the dashboards for Filebeat into Kibana, run:
./filebeat setup -e
For further steps visit the
[
Quick start
](
https://www.elastic.co/guide/en/beats/filebeat/7.x/filebeat-installation-configuration.html
)
guide.
## Documentation
Visit
[
Elastic.co Docs
](
https://www.elastic.co/guide/en/beats/filebeat/7.x/index.html
)
for the full Filebeat documentation.
## Release notes
#### [官网教程](https://www.elastic.co/guide/en/beats/filebeat/7.x/filebeat-installation-configuration.html)
https://www.elastic.co/guide/en/beats/libbeat/7.x/release-notes-7.12.0.html
#### [官方文档](https://www.elastic.co/guide/en/beats/filebeat/7.x/index.html)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment