<?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 Add CSV file as a source by a script in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166913#M33812</link>
    <description>&lt;P&gt;Hey guys,&lt;BR /&gt;
I'm back with an another question, the goal is to add data (CSV file ) as a source to splunk by a &lt;EM&gt;script&lt;/EM&gt;. Without to proceed by adding it With Upload button.&lt;BR /&gt;
So i really need, is to know the real format of files whene they're in Splunk. because last time a added a lookups files directly by going to the right path. the problem here is whene i add CSV file as a Source and i look in Splunk it doesn't keep the same format, i guess it's a deal with &lt;STRONG&gt;input.conf&lt;/STRONG&gt; file.&lt;BR /&gt;
Thanks again for your help.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Aug 2015 08:43:20 GMT</pubDate>
    <dc:creator>isedrof</dc:creator>
    <dc:date>2015-08-12T08:43:20Z</dc:date>
    <item>
      <title>Add CSV file as a source by a script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166913#M33812</link>
      <description>&lt;P&gt;Hey guys,&lt;BR /&gt;
I'm back with an another question, the goal is to add data (CSV file ) as a source to splunk by a &lt;EM&gt;script&lt;/EM&gt;. Without to proceed by adding it With Upload button.&lt;BR /&gt;
So i really need, is to know the real format of files whene they're in Splunk. because last time a added a lookups files directly by going to the right path. the problem here is whene i add CSV file as a Source and i look in Splunk it doesn't keep the same format, i guess it's a deal with &lt;STRONG&gt;input.conf&lt;/STRONG&gt; file.&lt;BR /&gt;
Thanks again for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2015 08:43:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166913#M33812</guid>
      <dc:creator>isedrof</dc:creator>
      <dc:date>2015-08-12T08:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add CSV file as a source by a script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166914#M33813</link>
      <description>&lt;P&gt;I've installed many CSV files in Splunk from the command line.  The format is a simple text file using the line endings appropriate for the platform (Linux, in my case).  I've never had to change inputs.conf for my CSVs.  Make sure you're putting the files in the right location - $SPLUNK_HOME/etc/apps/myapp/lookups or $SPLUNK_HOME/etc/system/lookups.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166914#M33813</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-29T06:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add CSV file as a source by a script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166915#M33814</link>
      <description>&lt;P&gt;Here you're talking about lookups files ..but this not what i want to do ..what i want is to add them like a Source.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2015 12:50:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166915#M33814</guid>
      <dc:creator>isedrof</dc:creator>
      <dc:date>2015-08-12T12:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add CSV file as a source by a script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166916#M33815</link>
      <description>&lt;P&gt;Please explain what you mean by "like a Source".  What exactly do you intend to do with the files?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2015 12:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166916#M33815</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-08-12T12:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add CSV file as a source by a script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166917#M33816</link>
      <description>&lt;P&gt;In splunk you can manage files by upload them directly (the first page) or by uploading them like a lookups file.&lt;BR /&gt;
if you upload them directly they're indexed like a source not like a lookup file.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2015 13:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166917#M33816</guid>
      <dc:creator>isedrof</dc:creator>
      <dc:date>2015-08-12T13:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add CSV file as a source by a script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166918#M33817</link>
      <description>&lt;P&gt;So you want to &lt;EM&gt;index&lt;/EM&gt; your CSV.  Perhaps this answer &lt;A href="http://answers.splunk.com/answers/260391/how-to-add-data-to-splunk-with-custom-source-and-s.html"&gt;http://answers.splunk.com/answers/260391/how-to-add-data-to-splunk-with-custom-source-and-s.html&lt;/A&gt; will help.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2015 13:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166918#M33817</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-08-12T13:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add CSV file as a source by a script</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166919#M33818</link>
      <description>&lt;P&gt;By &lt;EM&gt;far&lt;/EM&gt;, the easiest way to inject data by script is to use the &lt;CODE&gt;oneshot&lt;/CODE&gt; method; search for "oneshot" and read about it here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.4/Data/MonitorfilesanddirectoriesusingtheCLI"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.4/Data/MonitorfilesanddirectoriesusingtheCLI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2015 14:12:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-CSV-file-as-a-source-by-a-script/m-p/166919#M33818</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-08-12T14:12:46Z</dc:date>
    </item>
  </channel>
</rss>

