Splunk Search

How can we convert milliseconds to seconds?

monicateja
Explorer

Hi,

How can we calculate milli seconds to seconds for this field -> transactionDuration=20058?

Labels (1)
0 Karma

monicateja
Explorer

Do we need to convert duration_secs? 

duration_secs=ROUND(transactionDuration/1000, 2

 

0 Karma

johnhuang
Motivator

Sorry I realized there's a typo in my initial solution.

 

| eval duration_secs=ROUND(transactionDuration/1000, 2)
0 Karma

johnhuang
Motivator
| duration_secs=ROUND(transactionDuration/1000, 2)
0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...