<?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 use the different explicit and implicit search modes correctly in Hunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224801#M66241</link>
    <description>&lt;P&gt;Great. Can I use the Fast mode for Hunk?&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2016 15:47:18 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2016-03-01T15:47:18Z</dc:date>
    <item>
      <title>How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224798#M66238</link>
      <description>&lt;P&gt;We would like to know how to use the three different explicit modes correctly and how to use the implicit ones correctly in the context of Hunk.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/239341/in-hunk-verbose-mode-vs-smart-mode-for-vix-virtual.html"&gt;https://answers.splunk.com/answers/239341/in-hunk-verbose-mode-vs-smart-mode-for-vix-virtual.html&lt;/A&gt; touches on the subject...&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 16:44:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224798#M66238</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-02-29T16:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224799#M66239</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Hunk/6.3.3/Hunk/distributableandnondistributablesearchcommands"&gt;http://docs.splunk.com/Documentation/Hunk/6.3.3/Hunk/distributableandnondistributablesearchcommands&lt;/A&gt;&lt;/P&gt;

&lt;H2&gt;which has a link  that  to the three modes &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/Search/Changethesearchmode"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/Search/Changethesearchmode&lt;/A&gt; but that information is more for general Splunk&lt;/H2&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Hunk/6.3.3/Hunk/distributableandnondistributablesearchcommands"&gt;http://docs.splunk.com/Documentation/Hunk/6.3.3/Hunk/distributableandnondistributablesearchcommands&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Smart mode is the default and recommended setting for VIX searches. It maintains search behavior based on whether your search contains transforming commands. When searching virtual indexes we recommend that you search in smart mode, as it is more efficient.&lt;/P&gt;

&lt;P&gt;If you use verbose mode to search a VIX, note that Hunk does not start a MapReduce job for that search. This is because verbose mode searches search for all events as well as any reports that you might be running. The benefits of MapReduce jobs in that case are minimal and in some cases can have a negative impact on your searches.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 18:13:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224799#M66239</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2016-02-29T18:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224800#M66240</link>
      <description>&lt;P&gt;In most cases, you should use smart mode. The other modes are useful for diagnosing problems. For example, if Hunk is able to talk to HDFS but not able to run MR jobs due to configuration problems, then searches should run successfully in verbose mode, but not in smart mode. Verbose also will also cause the search.log to contain more information.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 19:27:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224800#M66240</guid>
      <dc:creator>kschon_splunk</dc:creator>
      <dc:date>2016-02-29T19:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224801#M66241</link>
      <description>&lt;P&gt;Great. Can I use the Fast mode for Hunk?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 15:47:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224801#M66241</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-03-01T15:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224802#M66242</link>
      <description>&lt;P&gt;Yes, Fast mode does work with Hunk. Fast mode disables field-discovery, so that Hunk will only know about index-time fields and required fields configured in the provider or index. This may speed up your searches, depending on the search itself, how the data is stored, the size of the data to searched, etc.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:22:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224802#M66242</guid>
      <dc:creator>kschon_splunk</dc:creator>
      <dc:date>2016-03-01T20:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224803#M66243</link>
      <description>&lt;P&gt;Great. About the implicit search modes part of the question - how do we know for sure that we converted the "regular" Splunk search to an Hunk MapR based search?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 14:12:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224803#M66243</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-03-02T14:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224804#M66244</link>
      <description>&lt;P&gt;Maybe I'm not clear - we want the users to know whether a MapR job was produced and that they are not running Hunk in Splunk mode. How can they know for sure that they are in Hunk mode? &lt;/P&gt;

&lt;P&gt;Raanan explained that adding the stats command triggers the MapR job, but I'm sure whether it's the only way.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Dan&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 15:26:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224804#M66244</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-03-03T15:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224805#M66245</link>
      <description>&lt;P&gt;Sorry for losing track of this thread. I did not meant to leave your question unanswered so long. &lt;/P&gt;

&lt;P&gt;You can tell how a search was done via either the job inspector or the search log. To see the first, after running your search, on the results page go to Job -&amp;gt; Inspect Job. From there, you can also click on the link "search.log". &lt;/P&gt;

&lt;P&gt;If you run a search with a reporting command, like "index=my_vix | stats count", you will normally get a "mixed mode" search. This means Hunk will launch a Map Reduce job, and stream data while waiting for the job to complete. In the job inspector, you should see entries for:&lt;BR /&gt;
￼&lt;BR /&gt;
erp..MR&lt;BR /&gt;
￼￼￼erp..stream.bytes&lt;/P&gt;

&lt;P&gt;which give you information about the Map Reduce and streaming parts of the search, respectively. If you look in search.log, you will find a lines that look like this (note the word "mixed"):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;03-14-2016 11:25:27.508 INFO  ExternalResultProvider - provider=, mode.config=report, mode.search=mixed
...
03-14-2016 11:25:29.225 INFO  ERP. -  SplunkMR$SearchHandler - Search mode: mixed
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now if you run a search like "index=my_vix", it should run as a pure streaming search. You should see that the job inspector has a line for stream.bytes, but not for MR. In the search.log, you should find something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;03-14-2016 11:25:17.403 INFO  ExternalResultProvider - provider=, mode.config=report, mode.search=stream
....
03-14-2016 11:25:18.272 INFO  ERP. -  SplunkMR$SearchHandler - Search mode: stream
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Finally, we can force the original search ("index=my_vix | stats count") to be a pure reporting search (i.e. MR job but no streaming of data), by adding this line to the provider stanza:&lt;BR /&gt;
vix.splunk.search.mixedmode = 0&lt;/P&gt;

&lt;P&gt;Now the job inspector will have an entry for MR, but not for stream.bytes, and the search.log should have these lines:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;03-14-2016 11:32:20.462 INFO  ExternalResultProvider - provider=, mode.config=report, mode.search=report
03-14-2016 11:32:21.599 INFO  ERP. -  SplunkMR$SearchHandler - Search mode: report 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 19:26:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224805#M66245</guid>
      <dc:creator>kschon_splunk</dc:creator>
      <dc:date>2016-03-14T19:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224806#M66246</link>
      <description>&lt;P&gt;Excellent info Keith! Can you get this documented? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 20:24:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224806#M66246</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2016-03-14T20:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224807#M66247</link>
      <description>&lt;P&gt;Thanks Becky. I've passed along a request to my Documentation group.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 00:10:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224807#M66247</guid>
      <dc:creator>kschon_splunk</dc:creator>
      <dc:date>2016-03-15T00:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the different explicit and implicit search modes correctly in Hunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224808#M66248</link>
      <description>&lt;P&gt;Thank you Keith!!! much appreciated.&lt;/P&gt;

&lt;P&gt;What has been bothering me is the fact that the end users don't know whether they run the MapR job or not. I believe Raanan opened an enhancement request to make this information available via the UI.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 16:11:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-different-explicit-and-implicit-search-modes/m-p/224808#M66248</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-03-15T16:11:38Z</dc:date>
    </item>
  </channel>
</rss>

