<?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 CSV Lookup File From Share in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50253#M12075</link>
    <description>&lt;P&gt;Is it possible to set Splunk to read a lookup from a CSV file on a different machine? We have a shared directory internally and ideally we'd let to have our CSV files for the lookups on the share to allow modification without need for uploading or logging directly onto the Splunk server&lt;/P&gt;</description>
    <pubDate>Fri, 30 Nov 2012 12:14:25 GMT</pubDate>
    <dc:creator>paddy3883</dc:creator>
    <dc:date>2012-11-30T12:14:25Z</dc:date>
    <item>
      <title>CSV Lookup File From Share</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50253#M12075</link>
      <description>&lt;P&gt;Is it possible to set Splunk to read a lookup from a CSV file on a different machine? We have a shared directory internally and ideally we'd let to have our CSV files for the lookups on the share to allow modification without need for uploading or logging directly onto the Splunk server&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2012 12:14:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50253#M12075</guid>
      <dc:creator>paddy3883</dc:creator>
      <dc:date>2012-11-30T12:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Lookup File From Share</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50254#M12076</link>
      <description>&lt;P&gt;I think the following will work, but I'm not able to test it.&lt;/P&gt;

&lt;P&gt;To make the English easier, assume that the user account running Splunk (splunkd and splunk web) is named &lt;CODE&gt;splunkAcct&lt;/CODE&gt;. &lt;/P&gt;

&lt;P&gt;First, make sure that &lt;CODE&gt;splunkAcct&lt;/CODE&gt; can open and read files in the shared directory.&lt;/P&gt;

&lt;P&gt;Second, put a link in the proper Splunk directory (&lt;CODE&gt;lookups&lt;/CODE&gt;) that points to the correct file in the shared directory.&lt;BR /&gt;
On Linux, use a hard link. On Windows, it's a short cut. Do this as &lt;CODE&gt;splunkAcct&lt;/CODE&gt; so that the permissions/ownership are appropriate.&lt;/P&gt;

&lt;P&gt;If that doesn't work you could write a script that runs on the Splunk server and copies over the files every hour.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Dec 2012 20:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50254#M12076</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-12-02T20:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Lookup File From Share</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50255#M12077</link>
      <description>&lt;P&gt;There is a new splunkbase app called "importutil".  It lets you import csv files (or any input) from an http url via the splunk search command line.  Also works for ftp.  sftp is experimental.  Search for importutil on Splunkbase&lt;/P&gt;

&lt;P&gt;Here is an example that imports data from the federal reserve economic data website:&lt;/P&gt;

&lt;P&gt;|importutil http &lt;A href="http://research.stlouisfed.org/fred2/data/PAYEMS.csv" target="_blank"&gt;http://research.stlouisfed.org/fred2/data/PAYEMS.csv&lt;/A&gt;&lt;BR /&gt;
| multikv&lt;BR /&gt;
| table DATE, VALUE&lt;/P&gt;

&lt;P&gt;Here is an example that imports data from the Bureau Of Labor Statistics... it uses ftp:&lt;/P&gt;

&lt;P&gt;|importutil ftp &lt;A href="ftp://ftp.bls.gov/pub/time.series/ce/ce.data.102.WeeklyEarningsHist" target="_blank"&gt;ftp://ftp.bls.gov/pub/time.series/ce/ce.data.102.WeeklyEarningsHist&lt;/A&gt;&lt;BR /&gt;
| multikv&lt;BR /&gt;
| table series_id, year, period, value, footnote_codes&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:01:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50255#M12077</guid>
      <dc:creator>nicholasgrabows</dc:creator>
      <dc:date>2020-09-28T13:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Lookup File From Share</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50256#M12078</link>
      <description>&lt;P&gt;Many thanks, this looks perfect.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 14:11:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50256#M12078</guid>
      <dc:creator>paddy3883</dc:creator>
      <dc:date>2013-01-07T14:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Lookup File From Share</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50257#M12079</link>
      <description>&lt;P&gt;paddy, good luck.  If this ends up working for you and if you have a moment please rate the app on splunkbase.  Thanks.  Good Luck!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 19:18:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CSV-Lookup-File-From-Share/m-p/50257#M12079</guid>
      <dc:creator>nicholasgrabows</dc:creator>
      <dc:date>2013-01-08T19:18:46Z</dc:date>
    </item>
  </channel>
</rss>

