<?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 create a report based on different source types and include the results from a search on 1 source type that requires a transaction command? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-report-based-on-different-source-types-and/m-p/279338#M84357</link>
    <description>&lt;P&gt;Try like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=a OR sourcetype=b | table file_name, action, user | append [search index=* sourcetype=c | transaction id| table file_name, action, user]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 25 Oct 2016 03:24:12 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-10-25T03:24:12Z</dc:date>
    <item>
      <title>How to create a report based on different source types and include the results from a search on 1 source type that requires a transaction command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-report-based-on-different-source-types-and/m-p/279337#M84356</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have several different source types and I need to create a report on them, most of them have events with all the fields I need, but one of them doesn't because the events are broken into other events that can become a transaction. &lt;BR /&gt;
When I pipe only those events to the &lt;CODE&gt;transaction&lt;/CODE&gt; command I get all the fields I need, but I don't know how to incorporate the results with the other searches that don't require a transaction.&lt;/P&gt;

&lt;P&gt;for example:&lt;/P&gt;

&lt;P&gt;This is the search for my normal report:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=a sourcetype=b | table file_name, action, user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And this is the search I have to incorporate into the report:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=c | transaction id| table file_name, action, user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What can I do?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 23:05:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-report-based-on-different-source-types-and/m-p/279337#M84356</guid>
      <dc:creator>guarisma</dc:creator>
      <dc:date>2016-10-24T23:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a report based on different source types and include the results from a search on 1 source type that requires a transaction command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-report-based-on-different-source-types-and/m-p/279338#M84357</link>
      <description>&lt;P&gt;Try like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=a OR sourcetype=b | table file_name, action, user | append [search index=* sourcetype=c | transaction id| table file_name, action, user]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Oct 2016 03:24:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-report-based-on-different-source-types-and/m-p/279338#M84357</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-25T03:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a report based on different source types and include the results from a search on 1 source type that requires a transaction command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-report-based-on-different-source-types-and/m-p/279339#M84358</link>
      <description>&lt;P&gt;Yes, this works.&lt;BR /&gt;
I also found the multisearch command, any recommendations on which might be better? &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:36:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-report-based-on-different-source-types-and/m-p/279339#M84358</guid>
      <dc:creator>guarisma</dc:creator>
      <dc:date>2016-10-25T13:36:14Z</dc:date>
    </item>
  </channel>
</rss>

