Capture Cassandra traffic
editCapture Cassandra traffic
editThe following settings are specific to the Cassandra protocol. Here is a sample
configuration for the cassandra section of the packetbeat.yml config file:
packetbeat.protocols: - type: cassandra send_request_header: true send_response_header: true compressor: "snappy" ignored_ops: ["SUPPORTED","OPTIONS"]
Configuration options
editAlso see Common protocol options.
send_request_header
editIf this option is enabled, the raw message of the response (cassandra_request.request_headers field)
is sent to Elasticsearch. The default is true. enable send_request first before enable this option.
send_response_header
editIf this option is enabled, the raw message of the response (cassandra_response.response_headers field)
is included in published events. The default is true. enable send_response first before enable this option.
ignored_ops
editThis option indicates which Operator/Operators captured will be ignored. currently support:
ERROR ,STARTUP ,READY ,AUTHENTICATE ,OPTIONS ,SUPPORTED ,
QUERY ,RESULT ,PREPARE ,EXECUTE ,REGISTER ,EVENT ,
BATCH ,AUTH_CHALLENGE,AUTH_RESPONSE ,AUTH_SUCCESS .
compressor
editConfigures the default compression algorithm being used to uncompress compressed frames by name. Currently only snappy is can be configured.
By default no compressor is configured.