<?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: Confused with Transaction and map command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/564038#M196474</link>
    <description>&lt;P&gt;Ah okay. I didn't read that part in the question. With large sets of data, map is even worse than join. Will take a lot of time, slow execution, missed results and you'll probably need more than maxsearches=1000+. Please try this:&lt;/P&gt;&lt;P&gt;| multisearch [search&amp;nbsp;&lt;SPAN&gt;index="xyz" source="source1"&amp;nbsp; "pacs.200"&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;index="xyz" source="source1" "pacs.800"]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[search index=your_index source=source2 | rename IDfield as IDfield1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| eval matched_IDfield = coalesce (IDfield,IDfield1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| fields + &amp;lt;fields from both sources that you want to see in the result&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| stats list(*) as *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;S&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;****If the answer helped, please upvote and accept it as a solution. It helps others to find the solution quickly****&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Aug 2021 07:29:23 GMT</pubDate>
    <dc:creator>shivanshu1593</dc:creator>
    <dc:date>2021-08-20T07:29:23Z</dc:date>
    <item>
      <title>Confused with Transaction and map command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/563796#M196456</link>
      <description>&lt;P&gt;Hi I have two searches for&amp;nbsp; which searches pacs.200(input) and pacs.800(output) records&amp;nbsp; for an ID&amp;nbsp;&lt;/P&gt;&lt;P&gt;inxdex="xyz" source="source1"&amp;nbsp; "pacs.200"&amp;nbsp;&lt;BR /&gt;and&amp;nbsp;&amp;nbsp;&lt;BR /&gt;inxdex="xyz" source="source1" "pacs.800"&lt;BR /&gt;&lt;BR /&gt;i use transaction command to get transaction time between&amp;nbsp;&amp;nbsp;pacs.200(input) and pacs.800(output)&amp;nbsp; which works good&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;but i have one another source="source2"&amp;nbsp; which has same IDfield common but other diffrent fields&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I want to map "source2" data with output of my (source1)&amp;nbsp; To get some fields from Source2&amp;nbsp; but its a huge data (probably 200k and more ) so map is not working&amp;nbsp; properly here ? and i guess i cant use transaction command as i have already used this with first 2 searches can anyone help me with How should i map my source 2 data with my previous output ?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 14:32:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/563796#M196456</guid>
      <dc:creator>KBudhale</dc:creator>
      <dc:date>2021-08-18T14:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Confused with Transaction and map command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/563910#M196457</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please try something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index="xyz" source="source1"&amp;nbsp; "pacs.200"&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;AND&lt;BR /&gt;&lt;SPAN&gt;index="xyz" source="source1" "pacs.800"&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;|&amp;nbsp; join IDfield [index=your_index source=source 2 | table IDfield &amp;lt;add more fields that you want to see] | rest of your query&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it helps.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;S&amp;nbsp;&lt;/P&gt;&lt;P&gt;****If the answer helped, please upvote and accept it as a solution. It helps others to find the solution quickly****&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 08:51:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/563910#M196457</guid>
      <dc:creator>shivanshu1593</dc:creator>
      <dc:date>2021-08-19T08:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Confused with Transaction and map command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/564022#M196471</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/61125"&gt;@shivanshu1593&lt;/a&gt;&amp;nbsp;, Thanks for your help man but&amp;nbsp;&lt;/P&gt;&lt;P&gt;As i said there are too many records&amp;nbsp; i am&amp;nbsp; trying to map splunk Join has limitations so i tried using Join but it never works properly, That's why at first place i went for Transaction command&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Aug 2021 05:00:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/564022#M196471</guid>
      <dc:creator>KBudhale</dc:creator>
      <dc:date>2021-08-20T05:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Confused with Transaction and map command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/564035#M196473</link>
      <description>&lt;P&gt;Can you give some (masked) example data, your current query and example what you want like moc or something similar?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 07:00:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/564035#M196473</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-08-20T07:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Confused with Transaction and map command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/564038#M196474</link>
      <description>&lt;P&gt;Ah okay. I didn't read that part in the question. With large sets of data, map is even worse than join. Will take a lot of time, slow execution, missed results and you'll probably need more than maxsearches=1000+. Please try this:&lt;/P&gt;&lt;P&gt;| multisearch [search&amp;nbsp;&lt;SPAN&gt;index="xyz" source="source1"&amp;nbsp; "pacs.200"&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;index="xyz" source="source1" "pacs.800"]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[search index=your_index source=source2 | rename IDfield as IDfield1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| eval matched_IDfield = coalesce (IDfield,IDfield1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| fields + &amp;lt;fields from both sources that you want to see in the result&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| stats list(*) as *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;S&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;****If the answer helped, please upvote and accept it as a solution. It helps others to find the solution quickly****&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 07:29:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Confused-with-Transaction-and-map-command/m-p/564038#M196474</guid>
      <dc:creator>shivanshu1593</dc:creator>
      <dc:date>2021-08-20T07:29:23Z</dc:date>
    </item>
  </channel>
</rss>

