SignalFx Developers Guide

log10()

Find the common logarithm(base 10) of input.

Syntax

log10(input)

Table 1. Parameter definitions
Parameter Type Description

input

stream

Input data stream

Returns a new stream object with the common logarithm of the input.

Examples

1
2
3
4
5
6
# Calculate the common logarithm of the number of requests
num_requests = data('num.requests')
value = log10(num_requests).publish()

# Find the common logarithm of the median across datacenters
value = data('num.requests').median(by='datacenter').map(lambda x:log10(x)).publish()

© Copyright 2019 SignalFx.

Third-party license information