<?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: how to get mongodb data index into splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416497#M95102</link>
    <description>&lt;P&gt;this issue has been solved.  I used an old version of the driver. so .u need download new version of mongodb driver from  &lt;A href="http://unityjdbc.com/mongojdbc/mongo_jdbc.php"&gt;http://unityjdbc.com/mongojdbc/mongo_jdbc.php&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2019 01:23:37 GMT</pubDate>
    <dc:creator>bestSplunker</dc:creator>
    <dc:date>2019-07-10T01:23:37Z</dc:date>
    <item>
      <title>how to get mongodb data index into splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416494#M95099</link>
      <description>&lt;P&gt;I am trying to index mongodb data into splunk, &lt;/P&gt;

&lt;P&gt;The &lt;CODE&gt;Hunk App for MongoDB&lt;/CODE&gt; seems to be an obsolete. Is there a best way to import mongodb data into splunk? similar to the input function of db_connect? Because I don't just import it once, when mongodb has new data, I hope it can be automatically indexed to splunk&lt;/P&gt;

&lt;P&gt;I refer to the following documentation, but when I connect to the mongodb database that requires authentication, it prompts an error.&lt;CODE&gt;not authorized for query on xunfeng._schema&lt;/CODE&gt;.  I am sure I have created an identity &lt;CODE&gt;XunfengMongodb&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.unityjdbc.com/mongojdbc/setup/mongodb_jdbc_splunk_dbconnect_v2.pdf"&gt;http://www.unityjdbc.com/mongojdbc/setup/mongodb_jdbc_splunk_dbconnect_v2.pdf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;splunk version: 7.2.3&lt;BR /&gt;
db connect version 3.1.3&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7184i3886D8099CFD22ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 08:13:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416494#M95099</guid>
      <dc:creator>bestSplunker</dc:creator>
      <dc:date>2019-06-10T08:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to get mongodb data index into splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416495#M95100</link>
      <description>&lt;P&gt;Dear @bestSplunker,&lt;/P&gt;

&lt;P&gt;have you tried the driver from the following post for DB Connect 3?&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/665976/mongodb-jdbc-driver-for-db-connect-312-not-working.html"&gt;https://answers.splunk.com/answers/665976/mongodb-jdbc-driver-for-db-connect-312-not-working.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Unsupported JDBC Drivers: &lt;A href="https://docs.splunk.com/Documentation/DBX/latest/DeployDBX/Installdatabasedrivers#Add_the_custom_database_to_db_connection_types.conf"&gt;https://docs.splunk.com/Documentation/DBX/latest/DeployDBX/Installdatabasedrivers#Add_the_custom_database_to_db_connection_types.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;ur own custom REST TA as called out in the following answer: &lt;A href="https://answers.splunk.com/answers/616324/ways-to-index-mongodb-data-in-splunk.html"&gt;https://answers.splunk.com/answers/616324/ways-to-index-mongodb-data-in-splunk.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks..&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 09:07:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416495#M95100</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2019-06-10T09:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to get mongodb data index into splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416496#M95101</link>
      <description>&lt;P&gt;thank you for your reply&lt;/P&gt;

&lt;P&gt;I  have download &lt;CODE&gt;mongodb_unityjdbc_full.jar&lt;/CODE&gt;  and copy the jar in the directory&lt;CODE&gt;$SPLUNK_HOME/etc/apps/splunk_app_db_connect/drivers&lt;/CODE&gt;  and  add following data in the &lt;CODE&gt;db_connection_types.conf&lt;/CODE&gt; file&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mongodb]
displayName = MongoDB
serviceClass = com.splunk.dbx2.DefaultDBX2JDBC
jdbcDriverClass = mongodb.jdbc.MongoDriver
jdbcUrlFormat = jdbc:mongo://host:port/database
port = 27017
ui_default_catalog = $database$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but  is not working.&lt;/P&gt;

&lt;P&gt;Customizing the API seems to be a complicated thing, and I don't want to spend too much time.&lt;/P&gt;

&lt;P&gt;I believe DB connect 3 can connect to mongodb, and I suspect my JDBC URI configuration is error&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 09:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416496#M95101</guid>
      <dc:creator>bestSplunker</dc:creator>
      <dc:date>2019-06-10T09:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to get mongodb data index into splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416497#M95102</link>
      <description>&lt;P&gt;this issue has been solved.  I used an old version of the driver. so .u need download new version of mongodb driver from  &lt;A href="http://unityjdbc.com/mongojdbc/mongo_jdbc.php"&gt;http://unityjdbc.com/mongojdbc/mongo_jdbc.php&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 01:23:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416497#M95102</guid>
      <dc:creator>bestSplunker</dc:creator>
      <dc:date>2019-07-10T01:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to get mongodb data index into splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416498#M95103</link>
      <description>&lt;P&gt;this issue has been solved. I used an old version of the driver. so .u need download new version of mongodb driver from &lt;A href="http://unityjdbc.com/mongojdbc/mongo_jdbc.php"&gt;http://unityjdbc.com/mongojdbc/mongo_jdbc.php&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 08:03:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-get-mongodb-data-index-into-splunk/m-p/416498#M95103</guid>
      <dc:creator>bestSplunker</dc:creator>
      <dc:date>2019-07-11T08:03:12Z</dc:date>
    </item>
  </channel>
</rss>

