Splunk Search

ln is to exp, as log is to ___ ?

fk319
Builder

I am using "bucket span=log1.1 Time" but it puts it bucket ranges, 1-1.1, 1.1-1.2, etc.

so I tried to use log(Time,1.1) but I could not fine the correct exp() function.

This works, "eval Time=exp(floor(ln(Time)))".

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Speaking in maths terms, ln is to e^x as log is to 10^x.
In splunk terms, e^x is exp(x) and 10^x is pow(10,x).

What are you trying to achieve?

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Speaking in maths terms, ln is to e^x as log is to 10^x.
In splunk terms, e^x is exp(x) and 10^x is pow(10,x).

What are you trying to achieve?

fk319
Builder

I looked and looked and skipped the 'p's I guess. pow is what I was looking for, thanks...

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Deprecation of Splunk Observability Kubernetes “Classic Navigator” UI starting ...

Access to Splunk Observability Kubernetes “Classic Navigator” UI will no longer be available starting January ...