<?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 perform lookups on summary index data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-perform-lookups-on-summary-index-data/m-p/22537#M3893</link>
    <description>&lt;P&gt;option #1 worked, nice that you can call the lookup on demand. thanks very much!&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2012 21:23:00 GMT</pubDate>
    <dc:creator>sonicZ</dc:creator>
    <dc:date>2012-04-10T21:23:00Z</dc:date>
    <item>
      <title>how to perform lookups on summary index data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-perform-lookups-on-summary-index-data/m-p/22535#M3891</link>
      <description>&lt;P&gt;I have a lookup on sourcetype=vipservices&lt;BR /&gt;
csv file has values like so&lt;/P&gt;

&lt;P&gt;jurhash, jurhasfriendlyname&lt;BR /&gt;
somehashvalue, somehashvalue_friendly_name&lt;/P&gt;

&lt;P&gt;Works fine when i am running the lookup on the sourcetype, but when i populate a summary index and try to use the lookup the sourcetype gets renamed to "Stash". &lt;/P&gt;

&lt;P&gt;What's the best way to preserve sourcetype or reference original sourcetype for the existing lookup to use against the summary index? &lt;BR /&gt;
Any other workarounds would work also&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-perform-lookups-on-summary-index-data/m-p/22535#M3891</guid>
      <dc:creator>sonicZ</dc:creator>
      <dc:date>2020-09-28T11:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to perform lookups on summary index data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-perform-lookups-on-summary-index-data/m-p/22536#M3892</link>
      <description>&lt;P&gt;I've given a couple of options below, but I do have a question: what does your populating search look like? I assumed that you were using sistats ...&lt;/P&gt;

&lt;P&gt;Option 1 - you could use the lookup command when you retrieve the data from the summary index&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=yoursummaryindex saved_search=yoursavedsearch 
| lookup yourlookupname jurhash OUTPUT juhasfriendlyname
| ... whatever you want to get out ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Option 2 - put the lookup into the populating search (which I called &lt;CODE&gt;yoursavedsearch&lt;/CODE&gt; in option 1):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=vipservices | sistats whateverstats by whateverfields jushasfriendlyname 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then the &lt;CODE&gt;juhasfriendlyname&lt;/CODE&gt; will be stored, like any other field, in the summary index. You will not need to do the lookup when you retrieve the data from the summary index.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2012 17:18:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-perform-lookups-on-summary-index-data/m-p/22536#M3892</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-04-10T17:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to perform lookups on summary index data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-perform-lookups-on-summary-index-data/m-p/22537#M3893</link>
      <description>&lt;P&gt;option #1 worked, nice that you can call the lookup on demand. thanks very much!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2012 21:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-perform-lookups-on-summary-index-data/m-p/22537#M3893</guid>
      <dc:creator>sonicZ</dc:creator>
      <dc:date>2012-04-10T21:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to perform lookups on summary index data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-perform-lookups-on-summary-index-data/m-p/22538#M3894</link>
      <description>&lt;P&gt;Our populating search was this btw:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="vip" sourcetype=vipservices
  | transaction TR startswith="Operation Start" endswith="Operation End"
  | eval elapsed_wait=elapsed_operation-elapsed_request
  | sistats count, avg(elapsed_operation) as total-avg, perc80(elapsed_operation) as total-80, perc90(elapsed_operation) as total-90,
      perc95(elapsed_operation) as total-95, perc98(elapsed_operation) as total-98, perc99(elapsed_operation) as total-99,max(elapsed_operation) as total-max,
  avg(elapsed_responder) as resp-avg, max(elapsed_responder) as resp-max,
  avg(elapsed_request) as req-avg, max(elapsed_request) as req-max,
  avg(elapsed_wait) as wait-avg, max(elapsed_wait) as wait-max
 by host, JURHASH, OP
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Apr 2012 21:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-perform-lookups-on-summary-index-data/m-p/22538#M3894</guid>
      <dc:creator>sonicZ</dc:creator>
      <dc:date>2012-04-10T21:25:43Z</dc:date>
    </item>
  </channel>
</rss>

