2015-05-27 67 views
1
  1. 我使用監控packetbeat,我使用Ubuntu作爲操作系統。無法追查在mysql Packetbeat

  2. 我配置了一切,MySQL的端口是3306.我得到了kibana的儀表板,但是如果我開始使用MySQL,我在Packetbeat中沒有得到任何東西。它無法追查。

[interfaces] #Select on which network interfaces to sniff. You can use the "any" # keyword to sniff on all connected interfaces. device = "any"

[protocols] #Configure which protocols to monitor and on which ports are they #running. You can disable a given protocol by commenting out its #configuration.

[protocols.http] ports = [80, 8080, 8000, 5000, 8002]

[protocols.mysql] ports = [3306]

[protocols.pgsql] ports = [5432]

#[protocols.redis] #ports = [6379]

+0

配置看起來不錯。如果你這樣啓動packetbeat:'packetbeat -e -c /etc/packetbeat/packetbeat.conf -d「mysql,mysqldetailed,publish」'你有什麼提示嗎? – tsg

+0

**這是我得到的輸出:** 'output_elasticsearch.go:58:INFO [ElasticsearchOutput] Using Elasticsearch http://175.41.145.234:9200' 'output_elasticsearch.go:59:INFO [ElasticsearchOutput] Using索引圖案[packetbeat-] YYYY.MM.DD ' 'output_elasticsearch.go:60:INFO [ElasticsearchOutput]拓撲後15S' 'publish.go到期:220:INFO使用Elasticsearch存儲拓撲' ' publish.go:185:DBG爲localhost添加拓撲條目:[10.150.147.210 fe80 :: 2000:aff:fe96:93d2]' 'publish.go:185:DBG爲localhost添加拓撲條目:[10.150.147.210 fe80 :: 2000:aff:fe96:93d2]' –

+1

我必須提到任何事情或配置任何東西在跟蹤mysql的conf文件? –

回答