<?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 How to update a lookuptable? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-update-a-lookuptable/m-p/635147#M220670</link>
    <description>&lt;P&gt;So I couldn't find anything in splunk community that answers my question about pushing an update to a lookup table. I manually updated the .csv file through the backend searchhead server. I deleted a line and replaced it with another hostname.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i run the command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;|inputlookup dns_hosts.csv| stats count by host|eval count=0|join host type=outer [ search index="dns"|stats count by host]|fillnull|where count=0|fields  host count&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im still getting the host that has a count of 0, the host that i removed in the csv file. My question is do i need to restart the searchhead to push that change? I didnt change any config files, just the lookupfile under the specific app directory's lookup file folder. I wasnt sure if splunk would automatically read the updated file after a certain amount of time, or if i needed to restart the server for it to take effect? And will that file replicate across all searchheads after I restart it?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for any guidance.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 22:01:02 GMT</pubDate>
    <dc:creator>Abass42</dc:creator>
    <dc:date>2023-03-20T22:01:02Z</dc:date>
    <item>
      <title>How to update a lookuptable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-update-a-lookuptable/m-p/635147#M220670</link>
      <description>&lt;P&gt;So I couldn't find anything in splunk community that answers my question about pushing an update to a lookup table. I manually updated the .csv file through the backend searchhead server. I deleted a line and replaced it with another hostname.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i run the command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;|inputlookup dns_hosts.csv| stats count by host|eval count=0|join host type=outer [ search index="dns"|stats count by host]|fillnull|where count=0|fields  host count&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im still getting the host that has a count of 0, the host that i removed in the csv file. My question is do i need to restart the searchhead to push that change? I didnt change any config files, just the lookupfile under the specific app directory's lookup file folder. I wasnt sure if splunk would automatically read the updated file after a certain amount of time, or if i needed to restart the server for it to take effect? And will that file replicate across all searchheads after I restart it?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for any guidance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 22:01:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-update-a-lookuptable/m-p/635147#M220670</guid>
      <dc:creator>Abass42</dc:creator>
      <dc:date>2023-03-20T22:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a lookuptable</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-update-a-lookuptable/m-p/635177#M220685</link>
      <description>&lt;P&gt;1) If you do manual changes to the files on splunk nodes, sometimes they get reloaded on their own, sometimes they don't (they usually do in the end but it may take some time). It's better to force a refresh. See &lt;A href="https://community.splunk.com/t5/Security/When-you-run-debug-refresh-what-does-it-refresh/m-p/610498" target="_blank"&gt;https://community.splunk.com/t5/Security/When-you-run-debug-refresh-what-does-it-refresh/m-p/610498&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Some settings however are never applied without full restart.&lt;/P&gt;&lt;P&gt;2) If you have a search-head cluster, you should push your changes via the deployer. If however you have several non-connected search-heads, you have to apply the config change to each one of them. Either manually or - if you're using deployment server - by distributing new version of an app via DS.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:11:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-update-a-lookuptable/m-p/635177#M220685</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-03-20T18:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a lookuptable</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-update-a-lookuptable/m-p/635189#M220689</link>
      <description>&lt;P&gt;Splunkbase has a great app for updating lookup table from UI.&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1724" target="_blank"&gt;https://splunkbase.splunk.com/app/1724&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This uses REST APIs I believe so updates do not require refresh/restart. Check that app out.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 19:00:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-update-a-lookuptable/m-p/635189#M220689</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2023-03-20T19:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a lookuptable</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-update-a-lookuptable/m-p/635192#M220690</link>
      <description>&lt;P&gt;That's another story &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; But yes, the app is quite useful (even if a bit clunky).&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 19:28:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-update-a-lookuptable/m-p/635192#M220690</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-03-20T19:28:19Z</dc:date>
    </item>
  </channel>
</rss>

