<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to get P90 latency from combine trace_ids of one query to be fed to a second query. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698433#M237163</link>
    <description>&lt;P&gt;If I have two queries:&lt;/P&gt;
&lt;P&gt;1.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=poc container_name=app horizontalId=orange&lt;/LI-CODE&gt;
&lt;P&gt;outputs events with the trace ids&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=poc container_name=app ExecutionTimeAspect Elastic Vertical Search Query Service | rex field=_raw "execution time is[ ]+(?&amp;lt;latency&amp;gt;\d+)[ ]+ms" | stats p90(latency) as Latency&lt;/LI-CODE&gt;
&lt;P&gt;outputs a Latency = 845&lt;/P&gt;
&lt;P&gt;I want to link output of query 2 and query 1 via the trace ids for the P90 Latency.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2024 23:07:35 GMT</pubDate>
    <dc:creator>cimino</dc:creator>
    <dc:date>2024-09-06T23:07:35Z</dc:date>
    <item>
      <title>How to get P90 latency from combine trace_ids of one query to be fed to a second query.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698433#M237163</link>
      <description>&lt;P&gt;If I have two queries:&lt;/P&gt;
&lt;P&gt;1.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=poc container_name=app horizontalId=orange&lt;/LI-CODE&gt;
&lt;P&gt;outputs events with the trace ids&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=poc container_name=app ExecutionTimeAspect Elastic Vertical Search Query Service | rex field=_raw "execution time is[ ]+(?&amp;lt;latency&amp;gt;\d+)[ ]+ms" | stats p90(latency) as Latency&lt;/LI-CODE&gt;
&lt;P&gt;outputs a Latency = 845&lt;/P&gt;
&lt;P&gt;I want to link output of query 2 and query 1 via the trace ids for the P90 Latency.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 23:07:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698433#M237163</guid>
      <dc:creator>cimino</dc:creator>
      <dc:date>2024-09-06T23:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P90 latency from combine trace_ids of one query to be fed to a second query.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698443#M237164</link>
      <description>&lt;P&gt;What does "link" mean in this context? The second query doesn't return any trace ids. Please clarify what you are trying to do (in non=SPL terms, provide some sample events, and a representation of your expected output.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Sep 2024 08:51:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698443#M237164</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-09-07T08:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P90 latency from combine trace_ids of one query to be fed to a second query.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698449#M237166</link>
      <description>&lt;P&gt;Thanks for quick response.&lt;/P&gt;
&lt;P&gt;Link means to combine trace_ids of the first query and fed into the second query. Ex. take the trace ids output from the first query and add it to the second query for the P90 search latency total.&amp;nbsp; The first query returns trace_ids&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;outputs look like this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2024-... 15:23:58.961 INFO c.....impl....r#58 - Response from a....: ... [service.name=&amp;lt;service-name&amp;gt;=qa,trace_id=2b......,span_id=cs.....,trace_flags=01]&lt;/P&gt;
&lt;P&gt;P90 Latency query&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=&amp;lt;&amp;gt; container-name=&amp;lt;&amp;gt; Exec... Search Query Service | rex field=_raw "execution time is[ ]+(?&amp;lt;latency&amp;gt;\d+)[ ]+ms" | stats p90(latency) as Latency&lt;/LI-CODE&gt;
&lt;P&gt;if I want to combine the output of query 1 via trace ids, how can I do that so that the query 2 is the latency value?&lt;/P&gt;</description>
      <pubDate>Sat, 07 Sep 2024 16:04:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698449#M237166</guid>
      <dc:creator>cimino</dc:creator>
      <dc:date>2024-09-07T16:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P90 latency from combine trace_ids of one query to be fed to a second query.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698457#M237167</link>
      <description>&lt;P&gt;Do you mean something like this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=poc container_name=app ExecutionTimeAspect Elastic Vertical Search Query Service [ search index=poc container_name=app horizontalId=orange | stats count by trace_id | table trace_id] | rex field=_raw "execution time is[ ]+(?&amp;lt;latency&amp;gt;\d+)[ ]+ms" | stats p90(latency) as Latency&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 07 Sep 2024 20:40:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698457#M237167</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-09-07T20:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P90 latency from combine trace_ids of one query to be fed to a second query.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698652#M237229</link>
      <description>&lt;P&gt;The output is numerical with the inner search query. To validate this output, the next step is to check the p90 latencies in Splunk Observability Cloud for these traces and compare the values. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 13:48:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698652#M237229</guid>
      <dc:creator>cimino</dc:creator>
      <dc:date>2024-09-10T13:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P90 latency from combine trace_ids of one query to be fed to a second query.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698655#M237232</link>
      <description>&lt;P&gt;Please provide some anonymised sample events for both searches and what your expected output would look like&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 13:51:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-P90-latency-from-combine-trace-ids-of-one-query-to-be/m-p/698655#M237232</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-09-10T13:51:36Z</dc:date>
    </item>
  </channel>
</rss>

