<?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: Not result get from collect in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110820#M1124</link>
    <description>&lt;P&gt;Transaction can calculate duration, but I don't see the field duration value for each ActivityId.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2015 14:15:33 GMT</pubDate>
    <dc:creator>Wendy1990</dc:creator>
    <dc:date>2015-07-09T14:15:33Z</dc:date>
    <item>
      <title>Not result get from collect</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110817#M1121</link>
      <description>&lt;P&gt;I schedule below search, search name is "TransactionResult"&lt;/P&gt;

&lt;P&gt;sourcetype="ims*" host="chi*" ActivityId!="(null)" (Action="Start" OR Action="End") | eval TopicName= mvindex(split(TopicName,"."),-1)  | transaction ActivityId TopicName startswith="Start" endswith="End" maxevents=2  | fields FirmName ActivityId TopicName duration _time | collect addtime=true index=summary_abuse&lt;/P&gt;

&lt;P&gt;After above search completed, I use&lt;/P&gt;

&lt;P&gt;"index=summary_abuse search_name="TransactionResult" to get the result of search , but the result is empty ,why?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:38:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110817#M1121</guid>
      <dc:creator>Wendy1990</dc:creator>
      <dc:date>2020-09-29T06:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not result get from collect</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110818#M1122</link>
      <description>&lt;P&gt;I don't think &lt;CODE&gt;search_name&lt;/CODE&gt; is the right field to use here.&lt;/P&gt;

&lt;P&gt;Did you try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=summary_abuse source="TransactionResult"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jul 2015 21:57:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110818#M1122</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2015-07-08T21:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Not result get from collect</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110819#M1123</link>
      <description>&lt;P&gt;Best practice is to use a marker, which creates a new key/value pair in each SI result. The marker then allows you to easily retrieve the results you want from the SI.&lt;/P&gt;

&lt;P&gt;Here's how you can add it to your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="ims*" host="chi*" ActivityId!="(null)" (Action="Start" OR Action="End") | eval TopicName= mvindex(split(TopicName,"."),-1) | transaction ActivityId TopicName startswith="Start" endswith="End" maxevents=2 | fields FirmName ActivityId TopicName duration _time | collect addtime=true index=summary_abuse marker="si_search_name=TransactionResult"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then, to retrieve the results, you just do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=summary_abuse si_search_name=TransactionResult
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jul 2015 23:02:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110819#M1123</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-07-08T23:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Not result get from collect</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110820#M1124</link>
      <description>&lt;P&gt;Transaction can calculate duration, but I don't see the field duration value for each ActivityId.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 14:15:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110820#M1124</guid>
      <dc:creator>Wendy1990</dc:creator>
      <dc:date>2015-07-09T14:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Not result get from collect</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110821#M1125</link>
      <description>&lt;P&gt;I want to save the result of transaction command, now I can see the event with your command, but duration value is null, why?&lt;BR /&gt;
I use this command&lt;BR /&gt;
index=summary source="transtest" | table FirmName ActivityId TopicName duration _time&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 14:24:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Not-result-get-from-collect/m-p/110821#M1125</guid>
      <dc:creator>Wendy1990</dc:creator>
      <dc:date>2015-07-09T14:24:35Z</dc:date>
    </item>
  </channel>
</rss>

