Splunk Dev

How to extract response time?

karthi2809
Builder

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!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...