Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Getting error of "Too many subsearches"

$
0
0
Hi All, Any help is greatly appreciated as I am of course in a bit of a time crunch. We are currently using splunk to ingest our logs from haproxies running in our environment. The haproxies front a number of services we offer using API calls. I am trying to generate a report that breaks down the average response time (RTT in the haproxy log) broken out by each API call. I found I can do this using this search: **sourcetype=haproxy:http status=200 "API1?" | stats avg(rtt) as API1 | appendcols [search "API2?" | stats avg(rtt) as API2] | appendcols [search "API3?" | stats avg(rtt) as API3] | appendcols [search "API4?" | stats avg(rtt) as API4] | transpose** I then get the table that I need with the first column being the APIs and the second column being the average response time for each request to that API call. The problem is that I have about 40 API calls that I need to generate in this report. When I get to 20 subsearches, then I get an error of "Too many subsearches". Does anyone know if there is a way to workaround this? Thank you very much. Tony

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>