<?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: No results found, HUNK with MongoDB App installed in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122866#M9537</link>
    <description>&lt;P&gt;Try changing the value for Java from vix.command = java &lt;BR /&gt;
to vix.command = /bin/java&lt;BR /&gt;
After that search through the search.log to see if you past this java error.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2014 20:12:48 GMT</pubDate>
    <dc:creator>rdagan_splunk</dc:creator>
    <dc:date>2014-11-17T20:12:48Z</dc:date>
    <item>
      <title>No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122863#M9534</link>
      <description>&lt;P&gt;I have checked my connection from my Hunk server using telnet to the mongo server on port 27017, works fine.&lt;BR /&gt;
The indexes.conf seems to be setup correctly.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[provider:local-mongodb]
vix.mongodb.host = xxx.xxx.xxx.xxx:27017
vix.command = java
vix.splunk.search.debug = 1


[mongodb_vix]
vix.mongodb.collection = event
vix.mongodb.db = activity
vix.mongodb.auth.mechanism = 
vix.mongodb.auth.password = 
vix.mongodb.auth.username = 
vix.mongodb.field.time = _id
vix.mongodb.field.time.format = objectid
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then I run the following search I get "no results found"&lt;/P&gt;

&lt;P&gt;index="mongodb_vix"&lt;/P&gt;

&lt;P&gt;Did I miss anything? &lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 16:27:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122863#M9534</guid>
      <dc:creator>khhenderson</dc:creator>
      <dc:date>2014-11-17T16:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122864#M9535</link>
      <description>&lt;P&gt;If you have password enabled MongoDB try:&lt;BR /&gt;
vix.mongodb.auth.mechanism = CR &lt;BR /&gt;
vix.mongodb.auth.username = [username] &lt;BR /&gt;
vix.mongodb.auth.password = [password as plain text] &lt;/P&gt;

&lt;P&gt;If your MongoDB does not use any authentication try and remove these vix.mongodb.auth.* flags from your Hunk configuration.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 20:12:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122864#M9535</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2014-11-17T20:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122865#M9536</link>
      <description>&lt;P&gt;Do you see any errors in the Splunk search.log file?&lt;BR /&gt;
 ' Hunk UI -&amp;gt; Jobs -&amp;gt; Inspect Job -&amp;gt; all the way at the bottom you will see the link to the log file.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 20:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122865#M9536</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2014-11-17T20:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122866#M9537</link>
      <description>&lt;P&gt;Try changing the value for Java from vix.command = java &lt;BR /&gt;
to vix.command = /bin/java&lt;BR /&gt;
After that search through the search.log to see if you past this java error.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 20:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122866#M9537</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2014-11-17T20:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122867#M9538</link>
      <description>&lt;P&gt;Yes, that is a java version issue.&lt;BR /&gt;
Try upgrading the version of your Java from 1.6 to 1.7.  Once that is done, point vix.command = java to the new location.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 20:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122867#M9538</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2014-11-17T20:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122868#M9539</link>
      <description>&lt;P&gt;WOW, Thanks rdagan, making progress.&lt;BR /&gt;
ERROR ERP.local-mongodb -  MongoDBERP - Exception while executing search process , Message : Invalid authentication mechanism for MongoDB&lt;BR /&gt;
Unsure is it's the mechanism or the user authentication.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 20:12:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122868#M9539</guid>
      <dc:creator>khhenderson</dc:creator>
      <dc:date>2014-11-17T20:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122869#M9540</link>
      <description>&lt;P&gt;Ok, I have new "ERRORS"&lt;BR /&gt;
    11-17-2014 11:53:17.467 ERROR ERP.local-mongodb -  Exception in thread "main" java.lang.UnsupportedClassVersionError: com/splunk/erp/mongodb/MongoDBERP : Unsupported major.minor version 51.0&lt;BR /&gt;
    11-17-2014 11:53:17.467 ERROR ERP.local-mongodb -   at java.lang.ClassLoader.defineClass1(Native Method)&lt;BR /&gt;
    11-17-2014 11:53:17.467 ERROR ERP.local-mongodb -   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)&lt;BR /&gt;
    11-17-2014 11:53:17.469 ERROR ERP.local-mongodb -  Could not find the main class: com.splunk.erp.mongodb.MongoDBERP.  Program will exit.&lt;BR /&gt;
    11-17-2014 11:53:17.472 ERROR SearchOperator:stdin - Cannot consume data with unset stream_type&lt;BR /&gt;
    11-17-2014 11:53:17.472 ERROR ExternalResultProvider - Error in 'SearchOperator:stdin': Cannot consume data with unset stream_type&lt;/P&gt;

&lt;P&gt;Not sure if it's the Java version or something with the main index?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:11:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122869#M9540</guid>
      <dc:creator>khhenderson</dc:creator>
      <dc:date>2020-09-28T18:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122870#M9541</link>
      <description>&lt;P&gt;@rdagan_splunk, Here are the only lines report "ERROR".&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-17-2014 08:37:12.615 ERROR ScriptRunner - Couldn't start child process. script="java -Xmx512m -classpath /opt/hunk/bin/jars/SplunkMR-s6.0-h1.0.jar:/opt/hunk/etc/apps/MongoDBApp/bin/hunk_mongodb_app.jar:/opt/hunk/etc/apps/MongoDBApp/bin/lib/* com.splunk.erp.mongodb.MongoDBERP"
11-17-2014 08:37:12.615 ERROR SearchOperator:stdin - Cannot consume data with unset stream_type
11-17-2014 08:37:12.615 ERROR ExternalResultProvider - Error in 'SearchOperator:stdin': Cannot consume data with unset stream_type
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Nov 2014 20:12:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122870#M9541</guid>
      <dc:creator>khhenderson</dc:creator>
      <dc:date>2014-11-17T20:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122871#M9542</link>
      <description>&lt;P&gt;Thanks rdagan, I've got the auth and password figured out. Here are my new errors.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-17-2014 14:08:22.819 ERROR ERP.local-mongodb -  MongoDBERP - Exception while executing search process , Message : null
11-17-2014 14:08:22.823 ERROR SearchOperator:stdin - Cannot consume data with unset stream_type
11-17-2014 14:08:22.823 ERROR ExternalResultProvider - Error in 'SearchOperator:stdin': Cannot consume data with unset stream_type
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Nov 2014 20:16:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122871#M9542</guid>
      <dc:creator>khhenderson</dc:creator>
      <dc:date>2014-11-17T20:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122872#M9543</link>
      <description>&lt;P&gt;I suspect that Cannot consume data with unset stream_type means that you either have a wrong value for the DB (activity) or wrong value for the Collection (event).&lt;BR /&gt;
Can you validate that you can&lt;BR /&gt;
Open a MongoDB shell -&amp;gt; type ' use activity ' -&amp;gt; type ' db.event.find() '&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 21:01:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122872#M9543</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2014-11-17T21:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122873#M9544</link>
      <description>&lt;P&gt;That seems to work from a shell on the Mongo server. &lt;BR /&gt;
Do I need to set a "stream_type". Currently the vix.mode is set to stream. Is there a different setting I could try.&lt;BR /&gt;
Here are the current errors:&lt;BR /&gt;
    11-18-2014 10:19:35.418 ERROR ERP.local-mongodb -  MongoDBERP - Exception while executing search process , Message : null&lt;BR /&gt;
    11-18-2014 10:19:35.443 ERROR SearchOperator:stdin - Cannot consume data with unset stream_type&lt;BR /&gt;
    11-18-2014 10:19:35.444 ERROR ExternalResultProvider - Error in 'SearchOperator:stdin': Cannot consume data with unset stream_type&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:11:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122873#M9544</guid>
      <dc:creator>khhenderson</dc:creator>
      <dc:date>2020-09-28T18:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: No results found, HUNK with MongoDB App installed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122874#M9545</link>
      <description>&lt;P&gt;if you want we can do a webex session and see if we can find the core of the problem (my email &lt;A href="mailto:rdagan@splunk.com"&gt;rdagan@splunk.com&lt;/A&gt; )&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2014 16:55:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/No-results-found-HUNK-with-MongoDB-App-installed/m-p/122874#M9545</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2014-11-18T16:55:44Z</dc:date>
    </item>
  </channel>
</rss>

