IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Nats fields

edit

nats Module

nats fields

edit

nats contains statistics that were read from Nats

nats.server.id

type: keyword

The server ID

nats.server.time

type: date

Server time of metric creation

connections fields

edit

Contains nats connection related metrics

nats.connections.total

type: integer

The number of currently active clients

routes fields

edit

Contains nats route related metrics

nats.routes.total

type: integer

The number of registered routes

stats fields

edit

Contains nats var related metrics

nats.stats.uptime

type: long

format: duration

The period the server is up (sec)

nats.stats.mem.bytes

type: long

format: bytes

The current memory usage of NATS process

nats.stats.cores

type: integer

The number of logical cores the NATS process runs on

nats.stats.cpu

type: scaled_float

format: percent

The current cpu usage of NATs process

nats.stats.total_connections

type: long

The number of totally created clients

nats.stats.remotes

type: integer

The number of registered remotes

in fields

edit

The amount of incoming data

nats.stats.in.messages

type: long

The amount of incoming messages

nats.stats.in.bytes

type: long

format: bytes

The amount of incoming bytes

out fields

edit

The amount of outgoing data

nats.stats.out.messages

type: long

The amount of outgoing messages

nats.stats.out.bytes

type: long

format: bytes

The amount of outgoing bytes

nats.stats.slow_consumers

type: long

The number of slow consumers currently on NATS

http fields

edit

The http metrics of NATS server

req_stats fields

edit

The requests statistics

uri fields

edit

The request distribution on monitoring URIS

nats.stats.http.req_stats.uri.routez

type: long

The number of hits on routez monitoring uri

nats.stats.http.req_stats.uri.connz

type: long

The number of hits on connz monitoring uri

nats.stats.http.req_stats.uri.varz

type: long

The number of hits on varz monitoring uri

nats.stats.http.req_stats.uri.subsz

type: long

The number of hits on subsz monitoring uri

nats.stats.http.req_stats.uri.root

type: long

The number of hits on root monitoring uri

subscriptions fields

edit

Contains nats subscriptions related metrics

nats.subscriptions.total

type: integer

The number of active subscriptions

nats.subscriptions.inserts

type: long

The number of insert operations in subscriptions list

nats.subscriptions.removes

type: long

The number of remove operations in subscriptions list

nats.subscriptions.matches

type: long

The number of times a match is found for a subscription

nats.subscriptions.cache.size

type: integer

The number of result sets in the cache

nats.subscriptions.cache.hit_rate

type: scaled_float

format: percent

The rate matches are being retrieved from cache

nats.subscriptions.cache.fanout.max

type: integer

The maximum fanout served by cache

nats.subscriptions.cache.fanout.avg

type: double

The average fanout served by cache