<?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: export raw logs from splunk in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33238#M626</link>
    <description>&lt;P&gt;Addendum to Maverick's words of wisdom...&lt;/P&gt;

&lt;P&gt;Add a filename after outputcsv and find it in $SPLUNK_HOME/var/run/splunk/ directory.&lt;/P&gt;

&lt;P&gt;...| table _raw | outputcsv mySearch.csv&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jun 2015 19:38:35 GMT</pubDate>
    <dc:creator>jabineer</dc:creator>
    <dc:date>2015-06-09T19:38:35Z</dc:date>
    <item>
      <title>export raw logs from splunk</title>
      <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33230#M618</link>
      <description>&lt;P&gt;if i wanted to get a copy of the uncooked or raw syslogs from splunk how would i do that?&lt;/P&gt;

&lt;P&gt;exporttool seems to only export csv and not raw syslogs.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 01:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33230#M618</guid>
      <dc:creator>paymon</dc:creator>
      <dc:date>2010-08-19T01:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: export raw logs from splunk</title>
      <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33231#M619</link>
      <description>&lt;P&gt;Have you looked over the following docs?&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Configureforwarderswithoutputs.conf" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Configureforwarderswithoutputs.conf&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Outputsconf" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Outputsconf&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 19 Aug 2010 02:05:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33231#M619</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-08-19T02:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: export raw logs from splunk</title>
      <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33232#M620</link>
      <description>&lt;P&gt;this might also be useful. it's not 'raw' syslog, but you can forward the data in syslog format: 
&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Forwarddatatothird-partysystems" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Forwarddatatothird-partysystems&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 03:00:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33232#M620</guid>
      <dc:creator>piebob</dc:creator>
      <dc:date>2010-08-19T03:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: export raw logs from splunk</title>
      <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33233#M621</link>
      <description>&lt;P&gt;Thanks for the edit piebob, looks like I have 'logs' on the brain.  &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 04:52:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33233#M621</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-08-19T04:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: export raw logs from splunk</title>
      <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33234#M622</link>
      <description>&lt;P&gt;there are worse things to have on the brain... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 05:00:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33234#M622</guid>
      <dc:creator>piebob</dc:creator>
      <dc:date>2010-08-19T05:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: export raw logs from splunk</title>
      <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33235#M623</link>
      <description>&lt;P&gt;Given your reference to exporttool, I'd imagine that the other answers here aren't quite right, as they deal with streaming data out at the same time it's indexed.&lt;/P&gt;

&lt;P&gt;You probably want to look at the export capabilities added to CLI search in version 4.1. A CLI search like the following will stream all events out of the index to standard out, and can be piped into other programs or redirected into other files:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk search '*' -maxout 0
splunk search '*' -maxout 0 | wc -l
splunk search '*' -maxout 0 &amp;gt; exportfile.txt
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can replace the '*' here with any search on keywords or fields. In fact, as long as the search is non-transforming (no stats, sort, timechart, top, ...) you can use other search commands like lookup, eval, where, regex.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 08:00:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33235#M623</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-08-19T08:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: export raw logs from splunk</title>
      <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33236#M624</link>
      <description>&lt;P&gt;And of course you can still use &lt;CODE&gt;./splunk export&lt;/CODE&gt; rather than &lt;CODE&gt;exporttool&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 10:18:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33236#M624</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-19T10:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: export raw logs from splunk</title>
      <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33237#M625</link>
      <description>&lt;P&gt;You can run a search to bring back all of the raw events that you would like to export over the time range that is appropriate.&lt;/P&gt;

&lt;P&gt;then append this to the end of our search:&lt;/P&gt;

&lt;PRE&gt;| table _raw | outputcsv&lt;/PRE&gt;

&lt;P&gt;The outputcsv file containing your results should be in $SPLUNK_HOME/var/run/splunk/ directory.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2011 20:29:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33237#M625</guid>
      <dc:creator>maverick</dc:creator>
      <dc:date>2011-03-30T20:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: export raw logs from splunk</title>
      <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33238#M626</link>
      <description>&lt;P&gt;Addendum to Maverick's words of wisdom...&lt;/P&gt;

&lt;P&gt;Add a filename after outputcsv and find it in $SPLUNK_HOME/var/run/splunk/ directory.&lt;/P&gt;

&lt;P&gt;...| table _raw | outputcsv mySearch.csv&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 19:38:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33238#M626</guid>
      <dc:creator>jabineer</dc:creator>
      <dc:date>2015-06-09T19:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: export raw logs from splunk</title>
      <link>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33239#M627</link>
      <description>&lt;P&gt;Addendum 2:&lt;/P&gt;

&lt;P&gt;Add&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;...| table _raw | outputcsv output.raw&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;to your query and find the result file output.raw in the directory&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;$SPLUNK_HOME/var/run/splunk/csv&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 11:46:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/export-raw-logs-from-splunk/m-p/33239#M627</guid>
      <dc:creator>PvandenHondel</dc:creator>
      <dc:date>2017-08-28T11:46:31Z</dc:date>
    </item>
  </channel>
</rss>

