<?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 Can't use inputcsv on a csv file just created with outputcsv - does inputcsv strictly handle embedded newlines? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-use-inputcsv-on-a-csv-file-just-created-with-outputcsv/m-p/126475#M26030</link>
    <description>&lt;P&gt;I have a long running query (7 minutes or so) that I want to speed up, because I am doing variations of it over and over again.  So I broke out the part that was common to all of them, and wrote it to a csv file.  Then I tried to use that file as the source, and I get nothing.  Event count is 0.&lt;/P&gt;

&lt;P&gt;If I had to venture a guess, I would suppose that it might have to do with newlines embedded in the _raw log entries.  Can splunk properly parse a csv file if some of the strings in the file contain newlines?&lt;/P&gt;

&lt;P&gt;If the answer is yes, then does anybody have any other ideas what might cause a file just written with outputcsv to not be readable as an input source using inputcsv? &lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2015 22:20:28 GMT</pubDate>
    <dc:creator>jarrowwx</dc:creator>
    <dc:date>2015-02-03T22:20:28Z</dc:date>
    <item>
      <title>Can't use inputcsv on a csv file just created with outputcsv - does inputcsv strictly handle embedded newlines?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-use-inputcsv-on-a-csv-file-just-created-with-outputcsv/m-p/126475#M26030</link>
      <description>&lt;P&gt;I have a long running query (7 minutes or so) that I want to speed up, because I am doing variations of it over and over again.  So I broke out the part that was common to all of them, and wrote it to a csv file.  Then I tried to use that file as the source, and I get nothing.  Event count is 0.&lt;/P&gt;

&lt;P&gt;If I had to venture a guess, I would suppose that it might have to do with newlines embedded in the _raw log entries.  Can splunk properly parse a csv file if some of the strings in the file contain newlines?&lt;/P&gt;

&lt;P&gt;If the answer is yes, then does anybody have any other ideas what might cause a file just written with outputcsv to not be readable as an input source using inputcsv? &lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 22:20:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-use-inputcsv-on-a-csv-file-just-created-with-outputcsv/m-p/126475#M26030</guid>
      <dc:creator>jarrowwx</dc:creator>
      <dc:date>2015-02-03T22:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use inputcsv on a csv file just created with outputcsv - does inputcsv strictly handle embedded newlines?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-use-inputcsv-on-a-csv-file-just-created-with-outputcsv/m-p/126476#M26031</link>
      <description>&lt;P&gt;I always use outputlookup for things like this.  Lately I've move on to tscollect and  tstats.  I use the netapp an VMware app and these commands are used to speed up perf queries.&lt;/P&gt;

&lt;P&gt;Not an answer to your problem, but another path to try if you need.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Tscollect"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Tscollect&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 23:51:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-use-inputcsv-on-a-csv-file-just-created-with-outputcsv/m-p/126476#M26031</guid>
      <dc:creator>thomrs</dc:creator>
      <dc:date>2015-02-03T23:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use inputcsv on a csv file just created with outputcsv - does inputcsv strictly handle embedded newlines?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-use-inputcsv-on-a-csv-file-just-created-with-outputcsv/m-p/126477#M26032</link>
      <description>&lt;P&gt;Unfortunately, I need more than time series data, I need the subset of records that I am searching over.  The point is to do less work overall, skipping the processing of 2 million records that are established as irrelevant to my query.  &lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 18:30:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-use-inputcsv-on-a-csv-file-just-created-with-outputcsv/m-p/126477#M26032</guid>
      <dc:creator>jarrowwx</dc:creator>
      <dc:date>2015-02-04T18:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use inputcsv on a csv file just created with outputcsv - does inputcsv strictly handle embedded newlines?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-use-inputcsv-on-a-csv-file-just-created-with-outputcsv/m-p/126478#M26033</link>
      <description>&lt;P&gt;Depending on what you're actually trying to do, take a look at &lt;CODE&gt;|loadjob&lt;/CODE&gt;: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/loadjob"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/loadjob&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 00:33:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-use-inputcsv-on-a-csv-file-just-created-with-outputcsv/m-p/126478#M26033</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-02-05T00:33:15Z</dc:date>
    </item>
  </channel>
</rss>

