[英]capture mysql query response using packetbeat
我使用了packetbeat,發現它非常有用。
但是該文檔不包含從服務器收到的響應。 對於例如mysql,我有一個num_rows字段,但沒有返回的實際數據。
https://www.elastic.co/guide/en/beats/packetbeat/current/exported-fields-mysql.html
我檢查了上面的頁面,如果可以捕獲mysql.query,則無法啟用從端口3306接收的數據包,為什么不能mysql.query_response ?
Beats家庭中是否還有其他實用程序可以幫助您呢?
如彈性搜索論壇中所述
https://discuss.elastic.co/t/are-the-mysql-responses-captured-by-packetbeat/47408
您必須在mysql協議部分中啟用send_response: true
才能存儲查詢結果。 您可以在下面找到所有參數
https://www.elastic.co/guide/en/beats/packetbeat/current/packetbeat-reference-yml.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.