StatsD

The StatsD protocol is a great way of shipping raw metrics to Humio from a lot of tools. Both UDP and TCP transport is supported.

Currently StatsD protocol is only supported in on-prem installations

Configuring Humio

The StatsD format is very simple. In it’s simplest form it looks something like this

<metricname>:<metricvalue>|<metrictype>

Start by creating a new parser with the following regex

(?<metricname>\w+?):(?<metricvalue>[-+]?[\d\.]+?)\|(?<metrictype>\w+?)(\|@(?<metricsampling>[\d\.]+?))?

And no Parse timestamp and Parse key values. Finally give it a name, i.e. “statsd”.

Next, create an ingest listener with the statsd parser.

We strongly recommend using an UDP ingest listener for non-aggregated StatsD data