<?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: Where should I &amp;quot;Upload&amp;quot; a CSV file in a distributed search and indexer clustering environment? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123492#M25481</link>
    <description>&lt;P&gt;A lookup can be used for standalone data. It doesn't require another search. &lt;BR /&gt;
The following example would show all records in a lookup table. You could then use the splunk query language to filter and format.&lt;BR /&gt;
    | inputlookup my_lookup_table.csv&lt;/P&gt;

&lt;P&gt;You may also want to check out using a kvstore.&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/webframework-features/SP-CAAAEZK" target="_blank"&gt;http://dev.splunk.com/view/webframework-features/SP-CAAAEZK&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 19:28:51 GMT</pubDate>
    <dc:creator>bandit</dc:creator>
    <dc:date>2020-09-28T19:28:51Z</dc:date>
    <item>
      <title>Where should I "Upload" a CSV file in a distributed search and indexer clustering environment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123487#M25476</link>
      <description>&lt;P&gt;I've been wondering this for a while, but haven't found a worthwhile answer in the documentation.  I have clustered indexers and distributed search set up (but not search clusters / search head pooling, etc).  &lt;/P&gt;

&lt;P&gt;For .csv files that I want to index (so that all search heads can get to the data), where should I upload the files?  I typically use the WebUI to upload these types of files, so should I be doing that on an indexer or on the index cluster master?  I assume that I shouldn't use the search head since only that search head would have access to the file (on the local index only), but I'm not 100% on that.&lt;/P&gt;

&lt;P&gt;So where should I upload it? &lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 15:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123487#M25476</guid>
      <dc:creator>proletariat99</dc:creator>
      <dc:date>2015-04-06T15:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I "Upload" a CSV file in a distributed search and indexer clustering environment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123488#M25477</link>
      <description>&lt;P&gt;You should upload it to one of your indexers - preferably through the web UI so that you can leverage Data Preview.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 16:08:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123488#M25477</guid>
      <dc:creator>MillerTime</dc:creator>
      <dc:date>2015-04-06T16:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I "Upload" a CSV file in a distributed search and indexer clustering environment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123489#M25478</link>
      <description>&lt;P&gt;I would first ask you if you looking to index these csv files as Splunk is a time series index? i.e. do they have data that is associated with an event in time? This would be more of a log file in csv format. If so, you would just index with a universal forwarder. Search heads also have the forwarding ability if the CSVs reside on one of the search heads.&lt;/P&gt;

&lt;P&gt;Are you just using the CSVs to enhance Splunk's knowledge? i.e. a CSV full of web codes that would translate the code 404 to not found. If so, you would likely define the CSVs as a lookup table and may have to script something to update the the lookup table file. i.e. copy an updated version into the appropriate location you have defined. Typically csv/lookup tables are hosted on your search heads within an app.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 16:17:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123489#M25478</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2015-04-06T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I "Upload" a CSV file in a distributed search and indexer clustering environment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123490#M25479</link>
      <description>&lt;P&gt;I would recommending describing your use case or the why you are trying to do this. There may be a variety of solutions.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 16:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123490#M25479</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2015-04-06T16:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I "Upload" a CSV file in a distributed search and indexer clustering environment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123491#M25480</link>
      <description>&lt;P&gt;good question.  Not really.  I am just using Splunk to count things and do some data viz in this giant spreadsheet.  I'm not setting it up as a lookup, since it's sort of standalone data. &lt;/P&gt;

&lt;P&gt;Another project I'm working on uploads a .csv with "Today's Timestamp" set up in props.conf and monitors the file using inputs.conf and then sends it out via AutoLB=true to ALL my indexers, but this one is just a one-off upload.&lt;/P&gt;

&lt;P&gt;On a side note, this is one of my primary complaints about Splunk.  It is fantastic at eating time-series data and also reference data, but it doesn't really have a place for regular, slightly messy data.  It's almost easier to use Tableau or R or Python to data munge, but then I have to convert everything before I display it in Splunk, which is annoying, so I end up uploading .csv and .xml files into a private index quite often for this purpose.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 18:01:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123491#M25480</guid>
      <dc:creator>proletariat99</dc:creator>
      <dc:date>2015-04-06T18:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I "Upload" a CSV file in a distributed search and indexer clustering environment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123492#M25481</link>
      <description>&lt;P&gt;A lookup can be used for standalone data. It doesn't require another search. &lt;BR /&gt;
The following example would show all records in a lookup table. You could then use the splunk query language to filter and format.&lt;BR /&gt;
    | inputlookup my_lookup_table.csv&lt;/P&gt;

&lt;P&gt;You may also want to check out using a kvstore.&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/webframework-features/SP-CAAAEZK" target="_blank"&gt;http://dev.splunk.com/view/webframework-features/SP-CAAAEZK&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123492#M25481</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2020-09-28T19:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where should I "Upload" a CSV file in a distributed search and indexer clustering environment?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123493#M25482</link>
      <description>&lt;P&gt;This would be correct for an all in one Splunk instance where a single instance is performing log monitor, search head and indexer functions, however it may not work for a distributed environment.&lt;/P&gt;

&lt;P&gt;You can run data preview from any Splunk instance with a UI running. This implies that you are preparing to index the csv. The typical flow for indexing is to monitor with a forwarder and configure the forwarder to send to one or more indexers. &lt;/P&gt;

&lt;P&gt;If just loading a CSV file as lookup table, this would typically be done on your search head instances.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:19:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-should-I-quot-Upload-quot-a-CSV-file-in-a-distributed/m-p/123493#M25482</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2015-04-08T14:19:59Z</dc:date>
    </item>
  </channel>
</rss>

