<?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: Kv store lookup table is invalid in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Kv-store-lookup-table-is-invalid/m-p/345893#M2941</link>
    <description>&lt;P&gt;@jkat54,&lt;BR /&gt;
splunk single instance is running and i have not seen mongod.exe running in task manager. also i deleted mongod.lock but still i am not able to create kv store lookup.&lt;BR /&gt;
i am able to create csv lookup but not kv store &lt;BR /&gt;
also in lookup editor app i tried creating kv store lookup but still it gives error as "The KV store collection could not be created"&lt;/P&gt;

&lt;P&gt;Kindly advise&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2017 12:14:31 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2017-03-13T12:14:31Z</dc:date>
    <item>
      <title>Kv store lookup table is invalid</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Kv-store-lookup-table-is-invalid/m-p/345891#M2939</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I am trying to create kv store lookup by adding below stanza in transforms.conf and collections.conf.&lt;BR /&gt;
Currently I am using Windows OS and splunk is 6.4.5 (Free version) standalone.&lt;BR /&gt;
in transforms.conf-&lt;BR /&gt;
[test_store]&lt;BR /&gt;
external_type = kvstore&lt;BR /&gt;
collection = test_collection&lt;BR /&gt;
fields_list = Name, Country&lt;/P&gt;

&lt;P&gt;and in collections.conf-&lt;BR /&gt;
[test_collection]&lt;BR /&gt;
field.Name = string&lt;BR /&gt;
field.Country = string&lt;/P&gt;

&lt;P&gt;after when i search |inputlookup test_store&lt;BR /&gt;
it gives error as "The lookup table 'test_store' is invalid."&lt;/P&gt;

&lt;P&gt;I had read few articles so did the following things.&lt;BR /&gt;
1. Created server.conf in local&lt;BR /&gt;
[kvstore]&lt;BR /&gt;
disabled=false&lt;BR /&gt;
2. Checked for mongod.log file  I find the following lines- &lt;BR /&gt;
 98 Unable to create/open lock file: C:\Program Files\Splunk\var\lib\splunk\kvstore\mongo\mongod.lock errno:5 Access is denied.. Is a mongod instance already running?, terminating&lt;BR /&gt;
 2017-03-12T10:01:26.970Z I CONTROL  [initandlisten] dbexit:  rc: 100&lt;/P&gt;

&lt;P&gt;Kindly advise.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:10:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Kv-store-lookup-table-is-invalid/m-p/345891#M2939</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2020-09-29T13:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Kv store lookup table is invalid</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Kv-store-lookup-table-is-invalid/m-p/345892#M2940</link>
      <description>&lt;P&gt;do you have multiple mongod.exe in task manager?&lt;/P&gt;

&lt;P&gt;do you have multiple splunk installs running?&lt;/P&gt;

&lt;P&gt;Mongod gives this error when the port is already in use.   Or if it exits improperly and the lock file is left behind.  You can try manually removing the lock file after verifying splunk is stopped and mongod.exe isnt running otherwise...&lt;/P&gt;

&lt;P&gt;C:\Program Files\Splunk\var\lib\splunk\kvstore\mongo\mongod.lock  &amp;lt;- the lock file&lt;/P&gt;</description>
      <pubDate>Sun, 12 Mar 2017 17:47:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Kv-store-lookup-table-is-invalid/m-p/345892#M2940</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-03-12T17:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kv store lookup table is invalid</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Kv-store-lookup-table-is-invalid/m-p/345893#M2941</link>
      <description>&lt;P&gt;@jkat54,&lt;BR /&gt;
splunk single instance is running and i have not seen mongod.exe running in task manager. also i deleted mongod.lock but still i am not able to create kv store lookup.&lt;BR /&gt;
i am able to create csv lookup but not kv store &lt;BR /&gt;
also in lookup editor app i tried creating kv store lookup but still it gives error as "The KV store collection could not be created"&lt;/P&gt;

&lt;P&gt;Kindly advise&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 12:14:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Kv-store-lookup-table-is-invalid/m-p/345893#M2941</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-03-13T12:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Kv store lookup table is invalid</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Kv-store-lookup-table-is-invalid/m-p/345894#M2942</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/514443/after-editing-the-kv-store-for-my-custom-app-why-d.html#answer-521153"&gt;https://answers.splunk.com/answers/514443/after-editing-the-kv-store-for-my-custom-app-why-d.html#answer-521153&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2017 10:23:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Kv-store-lookup-table-is-invalid/m-p/345894#M2942</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2017-04-15T10:23:44Z</dc:date>
    </item>
  </channel>
</rss>

