Forwarder and Indexer Metrics
| Topics: | dev, hacks, preview |
|---|---|
| Tags: | enterprise management |
| Share: |
If you were always wondering how much data was being transferred between your forwarders and indexers, we may have some help for you. Splunk now publishes these metrics to metrics.log, which are by default tailed and indexed in “_internal”.
Forwarding-side
Splunk uses a component called TcpOutputProcessor, which is configured using outputs.conf, to forward data to another Splunk or non-Splunk entity. This is something that a lot of people also refers to as a forwarder. Each TcpOutputProcessor instance publishes metrics events every 30 seconds - all the fields of these events are described below:
- group=tcpout_connections - this field discriminates this event as being a TcpOutput metric.
- tcpout_group_name:destIp:destPort - the load-balanced group that this metric belongs to. If you have multiple groups defined, a separate event is published for each of those groups.
- host metadata - is always available in an event, and refers to the host on which the forwarder is running.
- sourcePort - the local port that is used to connect to the remote entity.
- destIp - the ip address of the remote server to which events are being forwarded.
- destPort - the destination port on which events are being forwarded.
