Monitoring Splunk

Splunk query to measure REST API response time..

lpolo
Motivator

Is there a query to measure the response time that Splunk takes to return results from REST API call?
The information should be in:

index=_internal
sourcetype=splunkd_access
source=/opt/splunk/var/log/splunk/splunkd_access.log

Thanks,
LP

Tags (1)
0 Karma

somesoni2
Revered Legend

Looking for something like this??

index=_internal sourcetype=splunkd_access source=*splunkd_access.log | rex "- - - (?P<Response_Time>.*)" | rex "\"(?<REST_uri>[^\"]+)" | table _time, REST_uri, Response_Time
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...