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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...