<?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: Input multiple csv files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Input-multiple-csv-files/m-p/426870#M74803</link>
    <description>&lt;P&gt;If your files have more thank 50500 lines, other methods may truncate your events due to subsearch limits.  The only what that I have found to pull in multiple CSVs without truncation on any version of Splunk is like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup file1.csv
| appendpipe [ |inputlookup file2.csv ]
| appendpipe [ |inputlookup file3.csv ]
...
| appendpipe [ |inputlookup fileN.csv ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 25 Jan 2019 15:21:39 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-01-25T15:21:39Z</dc:date>
    <item>
      <title>Input multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Input-multiple-csv-files/m-p/426868#M74801</link>
      <description>&lt;P&gt;Hi, I am trying to load multiple csv files to my search result. I know that can be done using the append command, but I am wonder if it can be done using something like this&lt;CODE&gt;inputcsv some*.csv&lt;/CODE&gt;. Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 12:13:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Input-multiple-csv-files/m-p/426868#M74801</guid>
      <dc:creator>darioapis</dc:creator>
      <dc:date>2019-01-24T12:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Input multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Input-multiple-csv-files/m-p/426869#M74802</link>
      <description>&lt;P&gt;There could be many ways to do that, but it depends on your use case and data.  More detail would be helpful.&lt;/P&gt;

&lt;P&gt;One option: &lt;CODE&gt;| inputlookup file1.csv | inputlookup append=t file2.csv | ...&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 13:37:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Input-multiple-csv-files/m-p/426869#M74802</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-01-25T13:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Input multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Input-multiple-csv-files/m-p/426870#M74803</link>
      <description>&lt;P&gt;If your files have more thank 50500 lines, other methods may truncate your events due to subsearch limits.  The only what that I have found to pull in multiple CSVs without truncation on any version of Splunk is like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup file1.csv
| appendpipe [ |inputlookup file2.csv ]
| appendpipe [ |inputlookup file3.csv ]
...
| appendpipe [ |inputlookup fileN.csv ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Jan 2019 15:21:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Input-multiple-csv-files/m-p/426870#M74803</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-25T15:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Input multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Input-multiple-csv-files/m-p/540318#M90485</link>
      <description>&lt;P&gt;I need to read csv files *dynamically*. That is, every week a new file is added. So every week I need to read an additional file. Is there a way to build an automated dynamic command?&amp;nbsp;&lt;BR /&gt;I can get the list of all files with&amp;nbsp; rest/servicesNS/-/-/data/lookup-table-files | search title="file*.csv".&amp;nbsp;&lt;BR /&gt;But what's next?&amp;nbsp;&lt;/P&gt;&lt;P&gt;my current workaround is to build the cmd using the above, and then copying it to the spl line and running it. This is not automatic of course.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;All the examples above are for a static list of files.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 21:29:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Input-multiple-csv-files/m-p/540318#M90485</guid>
      <dc:creator>sbaror11</dc:creator>
      <dc:date>2021-02-17T21:29:06Z</dc:date>
    </item>
  </channel>
</rss>

