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

edit

type: long

The version of the protocol.

cassandra.request.headers.flags

edit

type: keyword

Flags applying to this frame.

cassandra.request.headers.stream

edit

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

edit

type: keyword

An operation type that distinguishes the actual message.

cassandra.request.headers.length

edit

type: long

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

cassandra.request.query

edit

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

edit

type: long

The version of the protocol.

cassandra.response.headers.flags

edit

type: keyword

Flags applying to this frame.

cassandra.response.headers.stream

edit

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

edit

type: keyword

An operation type that distinguishes the actual message.

cassandra.response.headers.length

edit

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

edit

type: keyword

Cassandra result type.

rows Fields

edit

Details about the rows.

cassandra.response.result.rows.num_rows

edit

type: long

Representing the number of rows present in this result.

meta Fields

edit

Composed of result metadata.

cassandra.response.result.rows.meta.keyspace

edit

type: keyword

Only present after set Global_tables_spec, the keyspace name.

cassandra.response.result.rows.meta.table

edit

type: keyword

Only present after set Global_tables_spec, the table name.

cassandra.response.result.rows.meta.flags

edit

type: keyword

Provides information on the formatting of the remaining information.

cassandra.response.result.rows.meta.col_count

edit

type: long

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

cassandra.response.result.rows.meta.pkey_columns

edit

type: long

Representing the PK columns index and counts.

cassandra.response.result.rows.meta.paging_state

edit

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

edit

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

edit

type: keyword

Representing the type of changed involved.

cassandra.response.result.schema_change.keyspace

edit

type: keyword

This describes which keyspace has changed.

cassandra.response.result.schema_change.table

edit

type: keyword

This describes which table has changed.

cassandra.response.result.schema_change.object

edit

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

edit

type: keyword

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

cassandra.response.result.schema_change.name

edit

type: keyword

The function/aggregate name.

cassandra.response.result.schema_change.args

edit

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

edit

type: keyword

Representing the prepared query ID.

req_meta Fields

edit

This describes the request metadata.

cassandra.response.result.prepared.req_meta.keyspace

edit

type: keyword

Only present after set Global_tables_spec, the keyspace name.

cassandra.response.result.prepared.req_meta.table

edit

type: keyword

Only present after set Global_tables_spec, the table name.

cassandra.response.result.prepared.req_meta.flags

edit

type: keyword

Provides information on the formatting of the remaining information.

cassandra.response.result.prepared.req_meta.col_count

edit

type: long

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

cassandra.response.result.prepared.req_meta.pkey_columns

edit

type: long

Representing the PK columns index and counts.

cassandra.response.result.prepared.req_meta.paging_state

edit

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

edit

type: keyword

Only present after set Global_tables_spec, the keyspace name.

cassandra.response.result.prepared.resp_meta.table

edit

type: keyword

Only present after set Global_tables_spec, the table name.

cassandra.response.result.prepared.resp_meta.flags

edit

type: keyword

Provides information on the formatting of the remaining information.

cassandra.response.result.prepared.resp_meta.col_count

edit

type: long

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

cassandra.response.result.prepared.resp_meta.pkey_columns

edit

type: long

Representing the PK columns index and counts.

cassandra.response.result.prepared.resp_meta.paging_state

edit

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

edit

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

edit

type: keyword

Indicates the full class name of the IAuthenticator in use

cassandra.response.warnings

edit

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

edit

type: keyword

Representing the event type.

cassandra.response.event.change

edit

type: keyword

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

cassandra.response.event.host

edit

type: keyword

Representing the node ip.

cassandra.response.event.port

edit

type: long

Representing the node port.

schema_change Fields

edit

The events details related to schema change.

cassandra.response.event.schema_change.change

edit

type: keyword

Representing the type of changed involved.

cassandra.response.event.schema_change.keyspace

edit

type: keyword

This describes which keyspace has changed.

cassandra.response.event.schema_change.table

edit

type: keyword

This describes which table has changed.

cassandra.response.event.schema_change.object

edit

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

edit

type: keyword

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

cassandra.response.event.schema_change.name

edit

type: keyword

The function/aggregate name.

cassandra.response.event.schema_change.args

edit

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

edit

type: long

The error code of the Cassandra response.

cassandra.response.error.msg

edit

type: keyword

The error message of the Cassandra response.

cassandra.response.error.type

edit

type: keyword

The error type of the Cassandra response.

details Fields

edit

The details of the error.

cassandra.response.error.details.read_consistency

edit

type: keyword

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

cassandra.response.error.details.required

edit

type: long

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

cassandra.response.error.details.alive

edit

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

edit

type: long

Representing the number of nodes having acknowledged the request.

cassandra.response.error.details.blockfor

edit

type: long

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

cassandra.response.error.details.write_type

edit

type: keyword

Describe the type of the write that timed out.

cassandra.response.error.details.data_present

edit

type: boolean

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

cassandra.response.error.details.keyspace

edit

type: keyword

The keyspace of the failed function.

cassandra.response.error.details.table

edit

type: keyword

The keyspace of the failed function.

cassandra.response.error.details.stmt_id

edit

type: keyword

Representing the unknown ID.

cassandra.response.error.details.num_failures

edit

type: keyword

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

cassandra.response.error.details.function

edit

type: keyword

The name of the failed function.

cassandra.response.error.details.arg_types

edit

type: keyword

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