7.5.1. graphite() destination options

The graphite() destination has the following options:

host()

Type: hostname or IP address
Default: localhost

Description: The hostname or IP address of the Graphite server.

port()

Type: number
Default: 2003

Description: The port number of the Graphite server.

payload()

Type: parameter list of the payload() option
Default:
empty string

Description: The payload() option allows you to select which value pairs to forward to graphite.

The syntax of payload is different from the syntax of value-pairs(): use the command-line syntax used in the format-json template function. For details on using the payload() option, see Section graphite-output.

Note

If left empty, there is no data to be forwarded to Graphite.