<?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 a lookup file without the GUI in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Add-a-lookup-file-without-the-GUI/m-p/235222#M99047</link>
    <description>&lt;P&gt;I currently have a distributed splunk setup, with one search head a cluster master and three indexers and am trying to automate a way to add lookup files to this setup. The file is too large to be uploaded to the web GUI, so I have attempted to add the lookup file to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/appName/lookups/mylookup.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;on the search head, but as soon as I do, I receive a sync error with failure reason 'NONE' and no other data is searchable through the search head. So I am wondering two things,&lt;/P&gt;

&lt;P&gt;1; when I upload a lookup through the lookup editor app, it is added into the /lookup_editor/lookups folder, so why when I add one manually does it not like it? Is there another file I need to update?&lt;BR /&gt;
2:What is the best way to script uploading a lookup file to splunk?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;EDIT&lt;/STRONG&gt; Just thought I would add an edit, as I have found out that manually creating a lookup within the folder didn't actually cause issues with the search head, this issue was the lookup I created was 8 GB and the maximum bundle size was set to 1GB, so the bundle failed to replicate and caused all these issues. So I believe it actually possible to create a lookup manually with the above method !&lt;/P&gt;</description>
    <pubDate>Mon, 07 Mar 2016 17:56:57 GMT</pubDate>
    <dc:creator>rusty009</dc:creator>
    <dc:date>2016-03-07T17:56:57Z</dc:date>
    <item>
      <title>Add a lookup file without the GUI</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-a-lookup-file-without-the-GUI/m-p/235222#M99047</link>
      <description>&lt;P&gt;I currently have a distributed splunk setup, with one search head a cluster master and three indexers and am trying to automate a way to add lookup files to this setup. The file is too large to be uploaded to the web GUI, so I have attempted to add the lookup file to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/appName/lookups/mylookup.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;on the search head, but as soon as I do, I receive a sync error with failure reason 'NONE' and no other data is searchable through the search head. So I am wondering two things,&lt;/P&gt;

&lt;P&gt;1; when I upload a lookup through the lookup editor app, it is added into the /lookup_editor/lookups folder, so why when I add one manually does it not like it? Is there another file I need to update?&lt;BR /&gt;
2:What is the best way to script uploading a lookup file to splunk?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;EDIT&lt;/STRONG&gt; Just thought I would add an edit, as I have found out that manually creating a lookup within the folder didn't actually cause issues with the search head, this issue was the lookup I created was 8 GB and the maximum bundle size was set to 1GB, so the bundle failed to replicate and caused all these issues. So I believe it actually possible to create a lookup manually with the above method !&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 17:56:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-a-lookup-file-without-the-GUI/m-p/235222#M99047</guid>
      <dc:creator>rusty009</dc:creator>
      <dc:date>2016-03-07T17:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add a lookup file without the GUI</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-a-lookup-file-without-the-GUI/m-p/235223#M99048</link>
      <description>&lt;P&gt;Check this out &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Knowledge/ConfigureCSVlookups"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.2/Knowledge/ConfigureCSVlookups&lt;/A&gt;. &lt;BR /&gt;
 It doesn't specifically deal with how to script such a thing, bit it does explain how to define a lookup in transforms.conf, so you could make a shell script to 1) upload the csv 2) copy/append the transforms.conf 3) restart splunk.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 18:45:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-a-lookup-file-without-the-GUI/m-p/235223#M99048</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-03-07T18:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add a lookup file without the GUI</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-a-lookup-file-without-the-GUI/m-p/235224#M99049</link>
      <description>&lt;P&gt;I could add lookup by editing the transforms.conf file. Now i want to add lookup definition from the command line. Any way to do that?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 12:21:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-a-lookup-file-without-the-GUI/m-p/235224#M99049</guid>
      <dc:creator>prachi0693</dc:creator>
      <dc:date>2018-11-16T12:21:16Z</dc:date>
    </item>
  </channel>
</rss>

