Splunk Search

How to convert my response time field into seconds?

sravankaripe
Communicator

i want to retrieve responsetime and convert it into seconds. please help me with Rex

IP                        Responsetime(ms)
12.34.567.890             163000
23.45.678.901             199000
34.56.789.012             162000
1 Solution

somesoni2
Revered Legend

So the Reponsetime(ms) is already available, you just want to convert it to sec. If yes, then just add following eval to your search

your current search | eval "Responsetime(ms)"='Responsetime(ms)'/1000

View solution in original post

somesoni2
Revered Legend

So the Reponsetime(ms) is already available, you just want to convert it to sec. If yes, then just add following eval to your search

your current search | eval "Responsetime(ms)"='Responsetime(ms)'/1000

somesoni2
Revered Legend

This is single field or you've two fields IP and Responsetime(ms)?

0 Karma

sravankaripe
Communicator

two fields

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...