<?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: Splunk DB Connect: Why am I unable to index data from a Postgres database? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279264#M190455</link>
    <description>&lt;P&gt;Yup, that would do it. Also note that since you didn't specify an index, your events will go to the default index (main). You may want to think about how to use multiple indexes, if you have different data retention or access permissions requirements for various data sources.&lt;/P&gt;

&lt;P&gt;I will add the resolution as an answer, please accept it, so the question shows as 'answered'.&lt;/P&gt;

&lt;P&gt;Happy Splunking!&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2015 18:13:53 GMT</pubDate>
    <dc:creator>s2_splunk</dc:creator>
    <dc:date>2015-12-14T18:13:53Z</dc:date>
    <item>
      <title>Splunk DB Connect: Why am I unable to index data from a Postgres database?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279261#M190452</link>
      <description>&lt;P&gt;I am trying to index data from a Postgres database using DB Connect 1.  I am able to make a connection to the database, and I can also run queries and see the data by clicking on the DB Query button under "Explore database schema" in the DB Connect 1 app.  However, the data is not getting indexed when I create a database input.&lt;/P&gt;

&lt;P&gt;I know that Splunk is able to retrieve the data, because it creates a kv_nnn.dbmonevt file under &lt;CODE&gt;C:\Program Files\Splunk\var\spool\dbmon&lt;/CODE&gt; containing the data in key/value pairs, but this data never gets indexed.  To rule out any issue with the data, I also tried specifying a query that returns just one column from my database table (the primary key) but this does not get indexed despite the kv_nnn.dbmonevt file being created.&lt;/P&gt;

&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:09:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279261#M190452</guid>
      <dc:creator>kbarker302</dc:creator>
      <dc:date>2020-09-29T08:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Why am I unable to index data from a Postgres database?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279262#M190453</link>
      <description>&lt;P&gt;Can you share your inputs.conf file?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 17:39:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279262#M190453</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-12-14T17:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Why am I unable to index data from a Postgres database?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279263#M190454</link>
      <description>&lt;P&gt;Thank you - I believe you pointed me in the right direction.  This is from my inputs.conf under etc\apps\dbx\local:&lt;/P&gt;

&lt;P&gt;[batch://$SPLUNK_HOME\var\spool\dbmon*.dbmonevt]&lt;BR /&gt;
crcSalt = &lt;BR /&gt;
disabled = 1&lt;BR /&gt;
move_policy = sinkhole&lt;BR /&gt;
sourcetype = dbmon:spool&lt;/P&gt;

&lt;P&gt;I'm not sure how or when the disabled flag got set, but I changed it to 0 and now I'm able to index the data.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:09:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279263#M190454</guid>
      <dc:creator>kbarker302</dc:creator>
      <dc:date>2020-09-29T08:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Why am I unable to index data from a Postgres database?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279264#M190455</link>
      <description>&lt;P&gt;Yup, that would do it. Also note that since you didn't specify an index, your events will go to the default index (main). You may want to think about how to use multiple indexes, if you have different data retention or access permissions requirements for various data sources.&lt;/P&gt;

&lt;P&gt;I will add the resolution as an answer, please accept it, so the question shows as 'answered'.&lt;/P&gt;

&lt;P&gt;Happy Splunking!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 18:13:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279264#M190455</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-12-14T18:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Why am I unable to index data from a Postgres database?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279265#M190456</link>
      <description>&lt;P&gt;The problem was resolved by setting &lt;STRONG&gt;disabled=0&lt;/STRONG&gt; in inputs.conf for the database input.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 18:14:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-Why-am-I-unable-to-index-data-from-a-Postgres/m-p/279265#M190456</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-12-14T18:14:17Z</dc:date>
    </item>
  </channel>
</rss>

