<?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 Combine 3 csv reports and send it in one Email in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Combine-3-csv-reports-and-send-it-in-one-Email/m-p/496744#M84720</link>
    <description>&lt;P&gt;Hi, I am stuck into a weird problem. I have 3 queries from 3 different source producing a table with a service name and it's error count. Is it possible that I generate 3 reports, attach it in the same email and trigger it as a scheduled report. I know we can use append command but i think that will make the output a bit messy.&lt;BR /&gt;
Is there any other way?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2019 10:53:09 GMT</pubDate>
    <dc:creator>Shashank_87</dc:creator>
    <dc:date>2019-12-04T10:53:09Z</dc:date>
    <item>
      <title>Combine 3 csv reports and send it in one Email</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Combine-3-csv-reports-and-send-it-in-one-Email/m-p/496744#M84720</link>
      <description>&lt;P&gt;Hi, I am stuck into a weird problem. I have 3 queries from 3 different source producing a table with a service name and it's error count. Is it possible that I generate 3 reports, attach it in the same email and trigger it as a scheduled report. I know we can use append command but i think that will make the output a bit messy.&lt;BR /&gt;
Is there any other way?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 10:53:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Combine-3-csv-reports-and-send-it-in-one-Email/m-p/496744#M84720</guid>
      <dc:creator>Shashank_87</dc:creator>
      <dc:date>2019-12-04T10:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 3 csv reports and send it in one Email</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Combine-3-csv-reports-and-send-it-in-one-Email/m-p/496745#M84721</link>
      <description>&lt;P&gt;There are many ways but the best is like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup append=t report1.csv
| eval which=coalesce(which, "report1.csv")
|inputlookup append=t report2.csv
| eval which=coalesce(which, "report2.csv")
|inputlookup append=t report3.csv
| eval which=coalesce(which, "report3.csv")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Dec 2019 11:32:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Combine-3-csv-reports-and-send-it-in-one-Email/m-p/496745#M84721</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-12-04T11:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 3 csv reports and send it in one Email</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Combine-3-csv-reports-and-send-it-in-one-Email/m-p/496746#M84722</link>
      <description>&lt;P&gt;@woodcock Hi, Thanks for your quick response. This really works fine. But I have to first output my query results to a CSV and then use the above command to append the results in one csv.&lt;/P&gt;

&lt;P&gt;Actually what i was thinking of if we can create 3 separate csv's and attach them together in same mail. Not sure if that is possible?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 11:56:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Combine-3-csv-reports-and-send-it-in-one-Email/m-p/496746#M84722</guid>
      <dc:creator>Shashank_87</dc:creator>
      <dc:date>2019-12-04T11:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 3 csv reports and send it in one Email</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Combine-3-csv-reports-and-send-it-in-one-Email/m-p/496747#M84723</link>
      <description>&lt;P&gt;You can also use &lt;CODE&gt;loadjob&lt;/CODE&gt; and &lt;CODE&gt;savedsearch&lt;/CODE&gt; to pull in the results of previous search runs; this will bypass having to write to a file but you run the risk of the searches' TTL expiring and splunk reaping the search job artifacts if you are not careful.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 02:29:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Combine-3-csv-reports-and-send-it-in-one-Email/m-p/496747#M84723</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-01-02T02:29:20Z</dc:date>
    </item>
  </channel>
</rss>

