Cassandra fields

edit

Cassandra v4/3 specific event fields.

cassandra fields

edit

Information about the Cassandra request and response.

request fields

edit

Cassandra request.

headers fields

edit

Cassandra request headers.

cassandra.request.headers.version

type: long

The version of the protocol.

cassandra.request.headers.flags

type: keyword

Flags applying to this frame.

cassandra.request.headers.stream

type: 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

type: keyword

An operation type that distinguishes the actual message.

cassandra.request.headers.length

type: long

A integer representing the length of the body of the frame (a frame is limited to 256MB in length).

cassandra.request.query

type: keyword

The CQL query which client send to cassandra.

response fields

edit

Cassandra response.

headers fields

edit

Cassandra response headers, the structure is as same as request’s header.

cassandra.response.headers.version

type: long

The version of the protocol.

cassandra.response.headers.flags

type: keyword

Flags applying to this frame.

cassandra.response.headers.stream

type: 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

type: keyword

An operation type that distinguishes the actual message.

cassandra.response.headers.length

type: long

A integer representing the length of the body of the frame (a frame is limited to 256MB in length).

result fields

edit

Details about the returned result.

cassandra.response.result.type

type: keyword

Cassandra result type.

rows fields

edit

Details about the rows.

cassandra.response.result.rows.num_rows

type: long

Representing the number of rows present in this result.

meta fields

edit

Composed of result metadata.

cassandra.response.result.rows.meta.keyspace

type: keyword

Only present after set Global_tables_spec, the keyspace name.

cassandra.response.result.rows.meta.table

type: keyword

Only present after set Global_tables_spec, the table name.

cassandra.response.result.rows.meta.flags

type: keyword

Provides information on the formatting of the remaining information.

cassandra.response.result.rows.meta.col_count

type: long

Representing the number of columns selected by the query that produced this result.

cassandra.response.result.rows.meta.pkey_columns

type: long

Representing the PK columns index and counts.

cassandra.response.result.rows.meta.paging_state

type: 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

type: keyword

Indicating the name of the keyspace that has been set.

schema_change fields

edit

The result to a schema_change message.

cassandra.response.result.schema_change.change

type: keyword

Representing the type of changed involved.

cassandra.response.result.schema_change.keyspace

type: keyword

This describes which keyspace has changed.

cassandra.response.result.schema_change.table

type: keyword

This describes which table has changed.

cassandra.response.result.schema_change.object

type: keyword

This describes the name of said affected object (either the table, user type, function, or aggregate name).

cassandra.response.result.schema_change.target

type: keyword

Target could be "FUNCTION" or "AGGREGATE", multiple arguments.

cassandra.response.result.schema_change.name

type: keyword

The function/aggregate name.

cassandra.response.result.schema_change.args

type: keyword

One string for each argument type (as CQL type).

prepared fields

edit

The result to a PREPARE message.

cassandra.response.result.prepared.prepared_id

type: keyword

Representing the prepared query ID.

req_meta fields

edit

This describes the request metadata.

cassandra.response.result.prepared.req_meta.keyspace

type: keyword

Only present after set Global_tables_spec, the keyspace name.

cassandra.response.result.prepared.req_meta.table

type: keyword

Only present after set Global_tables_spec, the table name.

cassandra.response.result.prepared.req_meta.flags

type: keyword

Provides information on the formatting of the remaining information.

cassandra.response.result.prepared.req_meta.col_count

type: long

Representing the number of columns selected by the query that produced this result.

cassandra.response.result.prepared.req_meta.pkey_columns

type: long

Representing the PK columns index and counts.

cassandra.response.result.prepared.req_meta.paging_state

type: 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

edit

This describes the metadata for the result set.

cassandra.response.result.prepared.resp_meta.keyspace

type: keyword

Only present after set Global_tables_spec, the keyspace name.

cassandra.response.result.prepared.resp_meta.table

type: keyword

Only present after set Global_tables_spec, the table name.

cassandra.response.result.prepared.resp_meta.flags

type: keyword

Provides information on the formatting of the remaining information.

cassandra.response.result.prepared.resp_meta.col_count

type: long

Representing the number of columns selected by the query that produced this result.

cassandra.response.result.prepared.resp_meta.pkey_columns

type: long

Representing the PK columns index and counts.

cassandra.response.result.prepared.resp_meta.paging_state

type: 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

type: object

Indicates which startup options are supported by the server. This message comes as a response to an OPTIONS message.

authentication fields

edit

Indicates that the server requires authentication, and which authentication mechanism to use.

cassandra.response.authentication.class

type: keyword

Indicates the full class name of the IAuthenticator in use

cassandra.response.warnings

type: keyword

The text of the warnings, only occur when Warning flag was set.

event fields

edit

Event pushed by the server. A client will only receive events for the types it has REGISTERed to.

cassandra.response.event.type

type: keyword

Representing the event type.

cassandra.response.event.change

type: keyword

The message corresponding respectively to the type of change followed by the address of the new/removed node.

cassandra.response.event.host

type: keyword

Representing the node ip.

cassandra.response.event.port

type: long

Representing the node port.

schema_change fields

edit

The events details related to schema change.

cassandra.response.event.schema_change.change

type: keyword

Representing the type of changed involved.

cassandra.response.event.schema_change.keyspace

type: keyword

This describes which keyspace has changed.

cassandra.response.event.schema_change.table

type: keyword

This describes which table has changed.

cassandra.response.event.schema_change.object

type: keyword

This describes the name of said affected object (either the table, user type, function, or aggregate name).

cassandra.response.event.schema_change.target

type: keyword

Target could be "FUNCTION" or "AGGREGATE", multiple arguments.

cassandra.response.event.schema_change.name

type: keyword

The function/aggregate name.

cassandra.response.event.schema_change.args

type: keyword

One string for each argument type (as CQL type).

error fields

edit

Indicates 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

type: long

The error code of the Cassandra response.

cassandra.response.error.msg

type: keyword

The error message of the Cassandra response.

cassandra.response.error.type

type: keyword

The error type of the Cassandra response.

details fields

edit

The details of the error.

cassandra.response.error.details.read_consistency

type: keyword

Representing the consistency level of the query that triggered the exception.

cassandra.response.error.details.required

type: long

Representing the number of nodes that should be alive to respect consistency level.

cassandra.response.error.details.alive

type: 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

type: long

Representing the number of nodes having acknowledged the request.

cassandra.response.error.details.blockfor

type: long

Representing the number of replicas whose acknowledgement is required to achieve consistency level.

cassandra.response.error.details.write_type

type: keyword

Describe the type of the write that timed out.

cassandra.response.error.details.data_present

type: boolean

It means the replica that was asked for data had responded.

cassandra.response.error.details.keyspace

type: keyword

The keyspace of the failed function.

cassandra.response.error.details.table

type: keyword

The keyspace of the failed function.

cassandra.response.error.details.stmt_id

type: keyword

Representing the unknown ID.

cassandra.response.error.details.num_failures

type: keyword

Representing the number of nodes that experience a failure while executing the request.

cassandra.response.error.details.function

type: keyword

The name of the failed function.

cassandra.response.error.details.arg_types

type: keyword

One string for each argument type (as CQL type) of the failed function.