Skip to main content

SSV formatter

The SSV formatter sums all dimensions in results of database queries to a single value and returns a list of such values showing how it changes through time.

It supports the following formats:

formatcontent typedescription
ssvtext/plaina space separated list of values
ssvcommatext/plaina comma separated list of values
arrayapplication/jsona JSON array

The SSV formatter respects the following API &options=:

nonzeroyesto return only the dimensions that have at least a non-zero value
flipyesto return the numbers older to newer (the default is newer to older)
percentyesto replace all values with their percentage over the row total
absyesto turn all values positive, before using them
min2maxyesto return the delta from the minimum value to the maximum value (across dimensions)


Get the average system CPU utilization of the last hour, in 6 values (one every 10 minutes):

# curl -Ss ''
1.741352 1.6800467 1.769411 1.6761112 1.629862 1.6807968

Get the total mysql bandwidth (in + out) for the last hour, in 6 values (one every 10 minutes):

Netdata returns bandwidth in kilobits.

# curl -Ss ''

Get the web server max connections for the last hour, in 12 values (one every 5 minutes) in a JSON array:

# curl -Ss ''

Reach out

If you need help after reading this doc, search our community forum for an answer. There's a good chance someone else has already found a solution to the same issue.



Last updated on