WARNING: Version 5.1 of Packetbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Cassandra Fields
editCassandra Fields
editCassandra v4/3 specific event fields.
cassandra Fields
editInformation about the Cassandra request and response.
request Fields
editCassandra request.
headers Fields
editCassandra request headers.
cassandra.request.headers.version
edittype: long
The version of the protocol.
cassandra.request.headers.flags
edittype: keyword
Flags applying to this frame.
cassandra.request.headers.stream
edittype: keyword
A frame has a stream id. If a client sends a request message with the stream id X, it is guaranteed that the stream id of the response to that message will be X.
cassandra.request.headers.op
edittype: keyword
An operation type that distinguishes the actual message.
cassandra.request.headers.length
edittype: long
A integer representing the length of the body of the frame (a frame is limited to 256MB in length).
cassandra.request.query
edittype: keyword
The CQL query which client send to cassandra.
response Fields
editCassandra response.
headers Fields
editCassandra response headers, the structure is as same as request’s header.
cassandra.response.headers.version
edittype: long
The version of the protocol.
cassandra.response.headers.flags
edittype: keyword
Flags applying to this frame.
cassandra.response.headers.stream
edittype: keyword
A frame has a stream id. If a client sends a request message with the stream id X, it is guaranteed that the stream id of the response to that message will be X.
cassandra.response.headers.op
edittype: keyword
An operation type that distinguishes the actual message.
cassandra.response.headers.length
edittype: long
A integer representing the length of the body of the frame (a frame is limited to 256MB in length).
result Fields
editDetails about the returned result.
cassandra.response.result.type
edittype: keyword
Cassandra result type.
rows Fields
editDetails about the rows.
cassandra.response.result.rows.num_rows
edittype: long
Representing the number of rows present in this result.
meta Fields
editComposed of result metadata.
cassandra.response.result.rows.meta.keyspace
edittype: keyword
Only present after set Global_tables_spec, the keyspace name.
cassandra.response.result.rows.meta.table
edittype: keyword
Only present after set Global_tables_spec, the table name.
cassandra.response.result.rows.meta.flags
edittype: keyword
Provides information on the formatting of the remaining information.
cassandra.response.result.rows.meta.col_count
edittype: long
Representing the number of columns selected by the query that produced this result.
cassandra.response.result.rows.meta.pkey_columns
edittype: long
Representing the PK columns index and counts.
cassandra.response.result.rows.meta.paging_state
edittype: keyword
The paging_state is a bytes value that should be used in QUERY/EXECUTE to continue paging and retrieve the remainder of the result for this query.
cassandra.response.result.keyspace
edittype: keyword
Indicating the name of the keyspace that has been set.
schema_change Fields
editThe result to a schema_change message.
cassandra.response.result.schema_change.change
edittype: keyword
Representing the type of changed involved.
cassandra.response.result.schema_change.keyspace
edittype: keyword
This describes which keyspace has changed.
cassandra.response.result.schema_change.table
edittype: keyword
This describes which table has changed.
cassandra.response.result.schema_change.object
edittype: keyword
This describes the name of said affected object (either the table, user type, function, or aggregate name).
cassandra.response.result.schema_change.target
edittype: keyword
Target could be "FUNCTION" or "AGGREGATE", multiple arguments.
cassandra.response.result.schema_change.name
edittype: keyword
The function/aggregate name.
cassandra.response.result.schema_change.args
edittype: keyword
One string for each argument type (as CQL type).
prepared Fields
editThe result to a PREPARE message.
cassandra.response.result.prepared.prepared_id
edittype: keyword
Representing the prepared query ID.
req_meta Fields
editThis describes the request metadata.
cassandra.response.result.prepared.req_meta.keyspace
edittype: keyword
Only present after set Global_tables_spec, the keyspace name.
cassandra.response.result.prepared.req_meta.table
edittype: keyword
Only present after set Global_tables_spec, the table name.
cassandra.response.result.prepared.req_meta.flags
edittype: keyword
Provides information on the formatting of the remaining information.
cassandra.response.result.prepared.req_meta.col_count
edittype: long
Representing the number of columns selected by the query that produced this result.
cassandra.response.result.prepared.req_meta.pkey_columns
edittype: long
Representing the PK columns index and counts.
cassandra.response.result.prepared.req_meta.paging_state
edittype: keyword
The paging_state is a bytes value that should be used in QUERY/EXECUTE to continue paging and retrieve the remainder of the result for this query.
resp_meta Fields
editThis describes the metadata for the result set.
cassandra.response.result.prepared.resp_meta.keyspace
edittype: keyword
Only present after set Global_tables_spec, the keyspace name.
cassandra.response.result.prepared.resp_meta.table
edittype: keyword
Only present after set Global_tables_spec, the table name.
cassandra.response.result.prepared.resp_meta.flags
edittype: keyword
Provides information on the formatting of the remaining information.
cassandra.response.result.prepared.resp_meta.col_count
edittype: long
Representing the number of columns selected by the query that produced this result.
cassandra.response.result.prepared.resp_meta.pkey_columns
edittype: long
Representing the PK columns index and counts.
cassandra.response.result.prepared.resp_meta.paging_state
edittype: keyword
The paging_state is a bytes value that should be used in QUERY/EXECUTE to continue paging and retrieve the remainder of the result for this query.
cassandra.response.supported
edittype: dict
Indicates which startup options are supported by the server. This message comes as a response to an OPTIONS message.
authentication Fields
editIndicates that the server requires authentication, and which authentication mechanism to use.
cassandra.response.authentication.class
edittype: keyword
Indicates the full class name of the IAuthenticator in use
cassandra.response.warnings
edittype: keyword
The text of the warnings, only occur when Warning flag was set.
event Fields
editEvent pushed by the server. A client will only receive events for the types it has REGISTERed to.
cassandra.response.event.type
edittype: keyword
Representing the event type.
cassandra.response.event.change
edittype: keyword
The message corresponding respectively to the type of change followed by the address of the new/removed node.
cassandra.response.event.host
edittype: keyword
Representing the node ip.
cassandra.response.event.port
edittype: long
Representing the node port.
schema_change Fields
editThe events details related to schema change.
cassandra.response.event.schema_change.change
edittype: keyword
Representing the type of changed involved.
cassandra.response.event.schema_change.keyspace
edittype: keyword
This describes which keyspace has changed.
cassandra.response.event.schema_change.table
edittype: keyword
This describes which table has changed.
cassandra.response.event.schema_change.object
edittype: keyword
This describes the name of said affected object (either the table, user type, function, or aggregate name).
cassandra.response.event.schema_change.target
edittype: keyword
Target could be "FUNCTION" or "AGGREGATE", multiple arguments.
cassandra.response.event.schema_change.name
edittype: keyword
The function/aggregate name.
cassandra.response.event.schema_change.args
edittype: keyword
One string for each argument type (as CQL type).
error Fields
editIndicates an error processing a request. The body of the message will be an error code followed by a error message. Then, depending on the exception, more content may follow.
cassandra.response.error.code
edittype: long
The error code of the Cassandra response.
cassandra.response.error.msg
edittype: keyword
The error message of the Cassandra response.
cassandra.response.error.type
edittype: keyword
The error type of the Cassandra response.
details Fields
editThe details of the error.
cassandra.response.error.details.read_consistency
edittype: keyword
Representing the consistency level of the query that triggered the exception.
cassandra.response.error.details.required
edittype: long
Representing the number of nodes that should be alive to respect consistency level.
cassandra.response.error.details.alive
edittype: long
Representing the number of replicas that were known to be alive when the request had been processed (since an unavailable exception has been triggered).
cassandra.response.error.details.received
edittype: long
Representing the number of nodes having acknowledged the request.
cassandra.response.error.details.blockfor
edittype: long
Representing the number of replicas whose acknowledgement is required to achieve consistency level.
cassandra.response.error.details.write_type
edittype: keyword
Describe the type of the write that timed out.
cassandra.response.error.details.data_present
edittype: boolean
It means the replica that was asked for data had responded.
cassandra.response.error.details.keyspace
edittype: keyword
The keyspace of the failed function.
cassandra.response.error.details.table
edittype: keyword
The keyspace of the failed function.
cassandra.response.error.details.stmt_id
edittype: keyword
Representing the unknown ID.
cassandra.response.error.details.num_failures
edittype: keyword
Representing the number of nodes that experience a failure while executing the request.
cassandra.response.error.details.function
edittype: keyword
The name of the failed function.
cassandra.response.error.details.arg_types
edittype: keyword
One string for each argument type (as CQL type) of the failed function.