---
title: 运行和验证
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/centos_kunpeng_filebeat_792_02_0007.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/centos_kunpeng_filebeat_792_02_0007.html
indexId: 0b06576a768bbcd678007695e1035faf5dc6456f03ea19736610ac57b295760982
---
# 运行和验证

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令进入filebeat源码。

```
cd
/path/to/
beats-7.9.2/filebeat
```


3. 执行以下命令启动filebeat。

```
./filebeat -e -c filebeat.yml -d "publish"
```


  回显显示信息如下图所示，启动为success。
