Splunk Dev

How to extract response time?

karthi2809
Contributor

How to extract response time?

response_time:0.002941865 app_id:\"c232e3a2-cecb-4e81-9beb-3150710c9a0a\"

Extract response time only

0 Karma

vnravikumar
Champion

Hi

Try this

| makeresults 
| eval test="response_time:0.002941865 app_id:\"c232e3a2-cecb-4e81-9beb-3150710c9a0a\"" 
| rex field=test "response_time:(?P<response_time>[\S]+)"
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...