<?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: Adding search time range to outputcsv in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Adding-search-time-range-to-outputcsv/m-p/122827#M2763</link>
    <description>&lt;P&gt;You can add the command at the end &lt;CODE&gt;| addinfo | table _raw info_*&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;it will add to each event the field :  info_max_time    info_min_time   info_search_time    info_sid from time search details in epoch time. &lt;/P&gt;

&lt;P&gt;example :&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/Screen_Shot_2014-09-12_at_11.55.48_AM.png" alt="alt text" /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 17:34:19 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2020-09-28T17:34:19Z</dc:date>
    <item>
      <title>Adding search time range to outputcsv</title>
      <link>https://community.splunk.com/t5/Reporting/Adding-search-time-range-to-outputcsv/m-p/122826#M2762</link>
      <description>&lt;P&gt;I have two searches appended together piped to a table_raw and dumped to an outputcsv and run this as a nightly report.  The report is set to run at midnight and capture the previous 24hours of data.  Is there a way to put the search time into the outputcsv file to use for auditing purposes?&lt;/P&gt;

&lt;P&gt;Search example&lt;/P&gt;

&lt;P&gt;index=index1 source=log1 "string of text" "string of text" | append [search index=index2 source=log2 Field=value] | table _raw | outputcsv filename.csv&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2014 17:05:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Adding-search-time-range-to-outputcsv/m-p/122826#M2762</guid>
      <dc:creator>pete_charlton</dc:creator>
      <dc:date>2014-09-12T17:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding search time range to outputcsv</title>
      <link>https://community.splunk.com/t5/Reporting/Adding-search-time-range-to-outputcsv/m-p/122827#M2763</link>
      <description>&lt;P&gt;You can add the command at the end &lt;CODE&gt;| addinfo | table _raw info_*&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;it will add to each event the field :  info_max_time    info_min_time   info_search_time    info_sid from time search details in epoch time. &lt;/P&gt;

&lt;P&gt;example :&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/Screen_Shot_2014-09-12_at_11.55.48_AM.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:34:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Adding-search-time-range-to-outputcsv/m-p/122827#M2763</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2020-09-28T17:34:19Z</dc:date>
    </item>
  </channel>
</rss>

