<?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: Report generating in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199803#M4313</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;
the search will have below time range&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;source=.... earliest=@d-7d latest=@d|....&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;and the cron schedule would be &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;0 8 * * 1&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2014 19:37:13 GMT</pubDate>
    <dc:creator>linu1988</dc:creator>
    <dc:date>2014-03-27T19:37:13Z</dc:date>
    <item>
      <title>Report generating</title>
      <link>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199800#M4310</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a log file abc.log. &lt;/P&gt;

&lt;P&gt;I need to generate a report. Below are the details&lt;BR /&gt;
1) Report should be generated and triggered through email on weekly-basis (on Mondays' morning by 0800 Hrs)&lt;BR /&gt;
2) Report should contain the data logged from previous Monday 12:00 AM till Sunday 12:00am Midnight on the week&lt;/P&gt;

&lt;P&gt;Time span is every one hour &lt;/P&gt;

&lt;P&gt;Format of the report&lt;/P&gt;

&lt;P&gt;Date          Time   Log details&lt;BR /&gt;
27/3/2014     00:00  ABC&lt;BR /&gt;
27/3/2014     01:00  xyz&lt;BR /&gt;
27/3/2014     02:00  pqr&lt;BR /&gt;
27/3/2014     03:00  lmn&lt;/P&gt;

&lt;P&gt;Any one can ple suggest me the solution&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 12:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199800#M4310</guid>
      <dc:creator>RashmiGowda</dc:creator>
      <dc:date>2014-03-27T12:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Report generating</title>
      <link>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199801#M4311</link>
      <description>&lt;P&gt;Seems like a fairly generic ask. Unless you're leaving out some requirements that involve analysis, then it'd be far cheaper to write a shell script that e-mails the log file.&lt;/P&gt;

&lt;P&gt;However, if you do actually need to pass through Splunk (log aggregation between hosts perhaps), then your search would look something like;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=yourIndex earliest=-1d@d latest=@d 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You would then need to schedule it in Splunk web via the cron scheduler with something like;&lt;BR /&gt;
    0 8 * * *&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 18:13:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199801#M4311</guid>
      <dc:creator>jeremiahc4</dc:creator>
      <dc:date>2014-03-27T18:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Report generating</title>
      <link>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199802#M4312</link>
      <description>&lt;P&gt;Start with the documentations.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.2/Report/Schedulereports"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.2/Report/Schedulereports&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 18:32:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199802#M4312</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-03-27T18:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Report generating</title>
      <link>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199803#M4313</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
the search will have below time range&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;source=.... earliest=@d-7d latest=@d|....&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;and the cron schedule would be &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;0 8 * * 1&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 19:37:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199803#M4313</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-03-27T19:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Report generating</title>
      <link>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199804#M4314</link>
      <description>&lt;P&gt;Ah, my bad, missed that it was a weekly report instead of daily. As linu1988 stated, it'd be -7d@d for the earliest time.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 19:45:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199804#M4314</guid>
      <dc:creator>jeremiahc4</dc:creator>
      <dc:date>2014-03-27T19:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Report generating</title>
      <link>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199805#M4315</link>
      <description>&lt;P&gt;Thank you.. it worked.. @linu1988&lt;/P&gt;

&lt;P&gt;could you ple exlpain about how cron scheduling accepts the parameters..&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2014 10:40:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199805#M4315</guid>
      <dc:creator>RashmiGowda</dc:creator>
      <dc:date>2014-03-28T10:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Report generating</title>
      <link>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199806#M4316</link>
      <description>&lt;P&gt;You could try a little from the below link. This will surely help you understand&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;A href="http://www.dataphyx.com/cronsandbox/cronsandboxgui.php" target="test_blank"&gt;http://www.dataphyx.com/cronsandbox/cronsandboxgui.php&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2014 11:48:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199806#M4316</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-03-28T11:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Report generating</title>
      <link>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199807#M4317</link>
      <description>&lt;P&gt;Thank you.. &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/142467"&gt;@linu1988&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;1 more query i have.. Now m using the below Query to generate the report&lt;/P&gt;

&lt;P&gt;index="xyz" source="abc" | timechart span=1h count as Transactions by host | eval Time=strftime(_time, "%H:%M") | convert timeformat="%m-%d-%y" ctime(_time) as Date &lt;/P&gt;

&lt;P&gt;My result is in the below format :&lt;BR /&gt;
_time, Date, Time, Host&lt;/P&gt;

&lt;P&gt;In result m getting the default _time column also. how to eliminate this _time column from the result..??&lt;/P&gt;

&lt;P&gt;Also i need the report format as Date, Time, Host1 but the generated report file in mail has _time, Host Date Time..&lt;/P&gt;

&lt;P&gt;how to format this..?/&lt;/P&gt;

&lt;P&gt;Please help me out..??&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:15:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199807#M4317</guid>
      <dc:creator>RashmiGowda</dc:creator>
      <dc:date>2020-09-28T16:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Report generating</title>
      <link>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199808#M4318</link>
      <description>&lt;P&gt;try add following at the end of your search.&lt;/P&gt;

&lt;P&gt;your report search so far | fields - _time | table Date, Time, *&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2014 13:31:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Report-generating/m-p/199808#M4318</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-03-28T13:31:29Z</dc:date>
    </item>
  </channel>
</rss>

