﻿---
title: Logstash node metricset
description: This is the node metricset of the module Logstash. This is a default metricset. If the host module is unconfigured, this metricset is enabled by default...
url: https://docs-v3-preview.elastic.dev/elastic/beats/pull/48504/reference/metricbeat/metricbeat-metricset-logstash-node
applies_to:
  - Elastic Stack: Generally available in 9.0+
---

# Logstash node metricset
This is the node metricset of the module Logstash.
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

## Fields

For a description of each field in the metricset, see the [exported fields](https://docs-v3-preview.elastic.dev/elastic/beats/pull/48504/reference/metricbeat/exported-fields-logstash) section.
Here is an example document generated by this metricset:
```json
{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "event": {
        "dataset": "logstash.node",
        "duration": 115000,
        "module": "logstash"
    },
    "logstash": {
        "cluster": {
            "id": "VUwnkX_lTzCFP9VUoXT1IQ"
        },
        "elasticsearch": {
            "cluster": {
                "id": "VUwnkX_lTzCFP9VUoXT1IQ"
            }
        },
        "node": {
            "host": "7dc1b688baf4",
            "id": "9a1f83e1-52b9-4625-a98a-6aa336f41719",
            "jvm": {
                "version": "11.0.10"
            },
            "state": {
                "pipeline": {
                    "id": "main",
                    "hash": "5022893e09c573cc517eef12da3df428d41a45370e168b19031f5b6b0da3db22",
                    "ephemeral_id": "0a6062d1-85e8-4e9b-b943-d80573912692",
                    "representation": {
                        "graph": {
                            "vertices": [
                                {
                                    "config_name": "beats",
                                    "explicit_id": false,
                                    "id": "293e8492626c637c237bf394279270356589b77d285ea009a555e19977779693",
                                    "meta": {
                                        "source": {
                                            "column": 3,
                                            "id": "/usr/share/logstash/pipeline/logstash.conf",
                                            "line": 2,
                                            "protocol": "file"
                                        }
                                    },
                                    "plugin_type": "input",
                                    "type": "plugin"
                                },
                                {
                                    "explicit_id": false,
                                    "id": "__QUEUE__",
                                    "meta": null,
                                    "type": "queue"
                                },
                                {
                                    "config_name": "elasticsearch",
                                    "explicit_id": false,
                                    "id": "942f820402532e034dc5b27a680547732f49dc4b5e48df0475d280eb31382e0d",
                                    "meta": {
                                        "source": {
                                            "column": 3,
                                            "id": "/usr/share/logstash/pipeline/logstash.conf",
                                            "line": 8,
                                            "protocol": "file"
                                        }
                                    },
                                    "plugin_type": "output",
                                    "type": "plugin"
                                }
                            ],
                            "edges": [
                                {
                                    "from": "293e8492626c637c237bf394279270356589b77d285ea009a555e19977779693",
                                    "id": "af355ece7f2645e789bd864dd4745756782431bb85e6ea2e5b3ad6d546bca889",
                                    "to": "__QUEUE__",
                                    "type": "plain"
                                },
                                {
                                    "from": "__QUEUE__",
                                    "id": "7eb9677f7cb798312f3dc1ac5ab2469a9f2166f6144da511fe339a31f9fd9b38",
                                    "to": "942f820402532e034dc5b27a680547732f49dc4b5e48df0475d280eb31382e0d",
                                    "type": "plain"
                                }
                            ]
                        },
                        "type": "lir",
                        "version": "0.0.0",
                        "hash": "5022893e09c573cc517eef12da3df428d41a45370e168b19031f5b6b0da3db22"
                    },
                    "batch_size": 125,
                    "workers": 12
                }
            },
            "version": "7.12.0"
        }
    },
    "metricset": {
        "name": "node",
        "period": 10000
    },
    "process": {
        "pid": 1
    },
    "service": {
        "address": "172.20.0.3:9600",
        "hostname": "7dc1b688baf4",
        "id": "9a1f83e1-52b9-4625-a98a-6aa336f41719",
        "name": "logstash",
        "type": "logstash",
        "version": "7.12.0"
    }
}
```