<?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 large search date range in raw format in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39280#M810</link>
    <description>&lt;P&gt;I am trying the same thing, attempting to export windows event logs sent to the Indexer via WMI.  I narrowed the CLI command down to what I expected would be a simple export of only 73 events, which I verified within the web GUI's search interface.  I can see that the file gets created at the file location I specified, but the file's size remains 0KB, and I have yet to get the prompt back; I'm assuming this means that Splunk is still processing the command, but exactly how long should it take to export 73 windows events to a text file, and how will I know when the job is done?
Also, what is the syntax for specifying a period of time such as from day x to day y within a range, using a CLI search command?&lt;/P&gt;</description>
    <pubDate>Sat, 11 Sep 2010 02:09:21 GMT</pubDate>
    <dc:creator>gsawyer1</dc:creator>
    <dc:date>2010-09-11T02:09:21Z</dc:date>
    <item>
      <title>Export large search date range in raw format</title>
      <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39272#M802</link>
      <description>&lt;P&gt;OK, &lt;/P&gt;

&lt;P&gt;So I have been at this all day and I cannot see a solution. Part of my frustration is that the documentation says one thing, the wiki says another. e.g. use "quotes" no don't use quotes. &lt;/P&gt;

&lt;P&gt;My user wants all messages for the last 60 days for a single host, sent to him in a syslog format so he can forward to the vendor. &lt;/P&gt;

&lt;P&gt;From the GUI I can get results but it is greater than 10,000 lines so exporting it is heck! ( sorry folks but those links posted here on how to increment a export suck.) &lt;/P&gt;

&lt;P&gt;From the command line I don't get any errors but splunk will not under any circumstances report over 60 days. Doesn't matter if I used starttime="m/d/y:h:m:s or if I use daysago=60 etc. The search will not go back far enough. &lt;/P&gt;

&lt;P&gt;Can anyone tell me how to get ./splunk search host="foo" daysago=60 &amp;gt; myfoofile.txt to work? &lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2010 03:54:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39272#M802</guid>
      <dc:creator>kerrj712</dc:creator>
      <dc:date>2010-08-28T03:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Export large search date range in raw format</title>
      <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39273#M803</link>
      <description>&lt;P&gt;By default, the Splunk CLI will output 100 results. In Splunk 4.1, for simple searches, you can export an unlimited number of results from the CLI using &lt;CODE&gt;-maxout 0&lt;/CODE&gt;. For example, you should search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk search 'host=foo earliest=-60d' -maxout 0 &amp;gt; myfoofile.txt
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 28 Aug 2010 09:14:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39273#M803</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-08-28T09:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Export large search date range in raw format</title>
      <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39274#M804</link>
      <description>&lt;P&gt;I would really love an option to do this in the GUI as well. requiring CLI access is highly suboptimal for many use cases.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2010 22:35:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39274#M804</guid>
      <dc:creator>zscgeek</dc:creator>
      <dc:date>2010-08-28T22:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Export large search date range in raw format</title>
      <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39275#M805</link>
      <description>&lt;P&gt;It would be helpful to know some of the use cases for a 10,000+ event manual export from the GUI, and whether all or part of whatever you need it for can be performed within Splunk itself.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Aug 2010 01:09:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39275#M805</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-29T01:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Export large search date range in raw format</title>
      <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39276#M806</link>
      <description>&lt;P&gt;Use case is sending logs for a problem report to a vendor. I don't want my users touching CLI on search head boxes AND I don't see being able to give the vendors direct splunk access. Oftin the logs for the problem that they request are far larger then 10k lines&lt;/P&gt;</description>
      <pubDate>Sun, 29 Aug 2010 21:51:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39276#M806</guid>
      <dc:creator>zscgeek</dc:creator>
      <dc:date>2010-08-29T21:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Export large search date range in raw format</title>
      <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39277#M807</link>
      <description>&lt;P&gt;I agree. I won't give CLI access to the sysadmins, (separation of duties). But I would like for them to be able to do this on the GUI instead of having to ask me to pull it for them.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2010 20:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39277#M807</guid>
      <dc:creator>kerrj712</dc:creator>
      <dc:date>2010-08-30T20:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Export large search date range in raw format</title>
      <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39278#M808</link>
      <description>&lt;P&gt;Stephen, Thanks much. This did the trick. For what it is worth, I think a better option is to allow this from the GUI as a submitted batch job that is throttled back so it doesnt break the app. &lt;/P&gt;

&lt;P&gt;I don't have a problem with allowing a user to pull large data, as long as they  don't want it in 2 minutes. Let it cook low and slow so they get their file for the vendor.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2010 20:46:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39278#M808</guid>
      <dc:creator>kerrj712</dc:creator>
      <dc:date>2010-08-30T20:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Export large search date range in raw format</title>
      <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39279#M809</link>
      <description>&lt;P&gt;I really would like this to be in the UI as well. The main problem is how the Python appserver relays data from splunkd, but this is a technical issue that we need to work through.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2010 23:13:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39279#M809</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-08-30T23:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Export large search date range in raw format</title>
      <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39280#M810</link>
      <description>&lt;P&gt;I am trying the same thing, attempting to export windows event logs sent to the Indexer via WMI.  I narrowed the CLI command down to what I expected would be a simple export of only 73 events, which I verified within the web GUI's search interface.  I can see that the file gets created at the file location I specified, but the file's size remains 0KB, and I have yet to get the prompt back; I'm assuming this means that Splunk is still processing the command, but exactly how long should it take to export 73 windows events to a text file, and how will I know when the job is done?
Also, what is the syntax for specifying a period of time such as from day x to day y within a range, using a CLI search command?&lt;/P&gt;</description>
      <pubDate>Sat, 11 Sep 2010 02:09:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39280#M810</guid>
      <dc:creator>gsawyer1</dc:creator>
      <dc:date>2010-09-11T02:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Export large search date range in raw format</title>
      <link>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39281#M811</link>
      <description>&lt;P&gt;Thanks a lot Stephen &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; +2&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2013 05:07:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-large-search-date-range-in-raw-format/m-p/39281#M811</guid>
      <dc:creator>ranjyotiprakash</dc:creator>
      <dc:date>2013-03-13T05:07:27Z</dc:date>
    </item>
  </channel>
</rss>

