<?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 Re: how to do a match field between index and summary index Finding match TraceID in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-do-a-match-field-between-index-and-summary-index-Finding/m-p/749658#M242204</link>
    <description>&lt;P&gt;Try removing lines from th end of the search, one at a time, until the results appear, then you will know which line is causing the problem.&lt;/P&gt;&lt;P&gt;If that doesn't work, try sharing some events from the index and the summary index to show us what you are dealing with.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jul 2025 21:55:15 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2025-07-11T21:55:15Z</dc:date>
    <item>
      <title>how to do a match field between index and summary index Finding match TraceID</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-do-a-match-field-between-index-and-summary-index-Finding/m-p/749655#M242202</link>
      <description>&lt;P&gt;Without using a SubSearch since there is a limit of 10000 results&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;index="xxxx" field.type="xxx" OR index=Summary_index&lt;BR /&gt;| eventstats values(index) as sources by trace&lt;BR /&gt;| where mvcount(sources) &amp;gt; 1&lt;/P&gt;&lt;P&gt;| spath output=yyyId path=xxxId input=_raw&lt;BR /&gt;| where isnotnull(yyyId) ANDyyyId!=""&lt;BR /&gt;| bin _time span=5m AS hour_bucket&lt;BR /&gt;| stats latest(_time) as last_activity_in_hour, count by hour_bucket, yyyId&lt;BR /&gt;| stats count by hour_bucket&lt;BR /&gt;| sort hour_bucket&lt;BR /&gt;| rename hour_bucket AS _time&lt;BR /&gt;| timechart span=5m values(count) AS "Unique Customers per Hour"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Still doesn't return any results&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 20:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-do-a-match-field-between-index-and-summary-index-Finding/m-p/749655#M242202</guid>
      <dc:creator>Cheng2Ready</dc:creator>
      <dc:date>2025-07-11T20:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to do a match field between index and summary index Finding match TraceID</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-do-a-match-field-between-index-and-summary-index-Finding/m-p/749658#M242204</link>
      <description>&lt;P&gt;Try removing lines from th end of the search, one at a time, until the results appear, then you will know which line is causing the problem.&lt;/P&gt;&lt;P&gt;If that doesn't work, try sharing some events from the index and the summary index to show us what you are dealing with.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 21:55:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-do-a-match-field-between-index-and-summary-index-Finding/m-p/749658#M242204</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-07-11T21:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to do a match field between index and summary index Finding match TraceID</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-do-a-match-field-between-index-and-summary-index-Finding/m-p/749661#M242206</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256484"&gt;@Cheng2Ready&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;at first don't rename hour_bucket,&lt;/P&gt;&lt;P&gt;then don't use values in timechart command,&lt;/P&gt;&lt;P&gt;then why are you using all these stats?&lt;/P&gt;&lt;P&gt;at least why do you want to list all the values of count without the yyyId? what do you want to extract?&lt;/P&gt;&lt;P&gt;please try:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index="xxxx" field.type="xxx") OR index=Summary_index
| eventstats values(index) as sources by trace
| where mvcount(sources) &amp;gt; 1
| spath output=yyyId path=xxxId input=_raw
| where isnotnull(yyyId) ANDyyyId!=""
| bin _time span=5m
| stats 
     latest(_time) AS last_activity_in_hour
     count 
     BY _time yyyId
| stats  values(count) AS "Unique Customers per Hour" BY _time&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Could you share more detals about your requirement?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 05:38:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-do-a-match-field-between-index-and-summary-index-Finding/m-p/749661#M242206</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-07-12T05:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to do a match field between index and summary index Finding match TraceID</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-do-a-match-field-between-index-and-summary-index-Finding/m-p/749662#M242207</link>
      <description>&lt;P&gt;1. We don't know neither your events nor your summary index contents.&lt;/P&gt;&lt;P&gt;2. There is much going on here. Try to avoid eventstats if possible. It's a "heavy" command and can run out of memory.&lt;/P&gt;&lt;P&gt;3. You bin by 5m but name your fields as if it was hourly.&lt;/P&gt;&lt;P&gt;4. You're generating several fields which you don't use later.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 05:57:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-do-a-match-field-between-index-and-summary-index-Finding/m-p/749662#M242207</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-12T05:57:28Z</dc:date>
    </item>
  </channel>
</rss>

