亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

beats(5)

發布時間:2020-05-31 22:09:09 來源:網絡 閱讀:938 作者:zddnyl 欄目:MongoDB數據庫

https://github.com/elastic/beats-dashboards


一、介紹

filebeat貌似功能筆logstash更好,是下一代的日志收集器。

topbeat定期收集系統信息如每個進程信息、負載、內存、磁盤等等,然后將數據發送到elasticsearch進行索引。

packetbeat可以分析某個時間段mysql或者mongodb的慢查詢日志情況;還有I/O吞吐量;這個時間段內經常執行的查詢語句,http訪問情況等信息;然后將分析出來的結果以圖表的形式展現出來。


二、需要的beats包

filebeat-1.2.3-x86_64.rpm

topbeat-1.2.2-x86_64.rpm

packetbeat-1.2.2-x86_64.rpm



三、安裝beats


1、安裝filebeat

[root@ossec-server ~]# rpm -ivh filebeat-1.2.3-x86_64.rpm 

warning: filebeat-1.2.3-x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID d88e42b4: NOKEY

Preparing...                ########################################### [100%]

   1:filebeat               ########################################### [100%]


[root@ossec-server ~]# curl -XPUT 'http://localhost:9200/_template/filebeat?pretty' -d@/etc/filebeat/filebeat.template.json

{

  "acknowledged" : true

}



[root@ossec-server ~]# /etc/init.d/filebeat start

Stopping filebeat:                                         [FAILED]

Starting filebeat:                                         [  OK  ]



2、安裝topbeat

[root@ossec-server ~]# rpm -ivh topbeat-1.2.2-x86_64.rpm 

Preparing...                ########################################### [100%]

package topbeat-1.2.2-1.x86_64 is already installed



[root@ossec-server ~]# curl -XPUT 'http://localhost:9200/_template/topbeat' -d@/etc/topbeat/topbeat.template.json

{"acknowledged":true}

[root@ossec-server ~]# /etc/init.d/topbeat start




3、安裝packetbeat

[root@ossec-server ~]# rpm -ivh packetbeat-1.2.2-x86_64.rpm 

Preparing...                ########################################### [100%]

package packetbeat-1.2.2-1.x86_64 is already installed


[root@ossec-server ~]# curl -XPUT 'http://localhost:9200/_template/packetbeat' -d@/etc/packetbeat/packetbeat.template.json

{"acknowledged":true}


[root@ossec-server ~]# /etc/init.d/topbeat start

Starting topbeat:                                          [  OK  ]



4、安裝dashboards

[root@ossec-server ~]# git clone https://github.com/elastic/beats-dashboards.git

Initialized empty Git repository in /root/beats-dashboards/.git/

remote: Counting objects: 1303, done.

remote: Total 1303 (delta 0), reused 0 (delta 0), pack-reused 1303

Receiving objects: 100% (1303/1303), 2.75 MiB | 152 KiB/s, done.

Resolving deltas: 100% (892/892), done.


[root@ossec-server ~]# cd beats-dashboards


[root@ossec-server beats-dashboards]# sh load.sh -url http://localhost:9200

Loading dashboards to http://localhost:9200 in .kibana

{"error":"IndexAlreadyExistsException[[.kibana] already exists]","status":400}{"acknowledged":true}Loading search Cache-transactions:

{"_index":".kibana","_type":"search","_id":"Cache-transactions","_version":1,"created":true}

Loading search DB-transactions:

{"_index":".kibana","_type":"search","_id":"DB-transactions","_version":1,"created":true}

Loading search Default-Search:

{"_index":".kibana","_type":"search","_id":"Default-Search","_version":1,"created":true}

Loading search Filesystem-stats:

{"_index":".kibana","_type":"search","_id":"Filesystem-stats","_version":1,"created":true}

Loading search HTTP-errors:

{"_index":".kibana","_type":"search","_id":"HTTP-errors","_version":1,"created":true}

Loading search MongoDB-errors:

{"_index":".kibana","_type":"search","_id":"MongoDB-errors","_version":1,"created":true}

Loading search MongoDB-transactions:

{"_index":".kibana","_type":"search","_id":"MongoDB-transactions","_version":1,"created":true}

Loading search MongoDB-transactions-with-write-concern-0:

{"_index":".kibana","_type":"search","_id":"MongoDB-transactions-with-write-concern-0","_version":1,"created":true}



5、添加beats索引

beats(5)beats(5)

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

驻马店市| 南通市| 松溪县| 遵义县| 鄂托克旗| 太谷县| 古浪县| 万宁市| 固镇县| 大姚县| 饶河县| 北海市| 襄垣县| 吉安县| 安顺市| 娱乐| 新绛县| 宝山区| 巴中市| 乌鲁木齐县| 淮北市| 连云港市| 铜鼓县| 襄樊市| 福安市| 三亚市| 洪洞县| 曲麻莱县| 会泽县| 安仁县| 丰县| 和静县| 镇平县| 长阳| 顺昌县| 南和县| 新乡县| 于田县| 慈溪市| 威远县| 鄯善县|