<?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: Timout issue with CLI queries? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timout-issue-with-CLI-queries/m-p/35515#M6467</link>
    <description>&lt;P&gt;It happens!  Regarding normalization, it is really hard to guess the user's intentions, so Splunk assumes that they mean what they typed.  Still, it seems like a cool research project to put on the list.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2011 13:01:35 GMT</pubDate>
    <dc:creator>araitz</dc:creator>
    <dc:date>2011-02-01T13:01:35Z</dc:date>
    <item>
      <title>Timout issue with CLI queries?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timout-issue-with-CLI-queries/m-p/35512#M6464</link>
      <description>&lt;P&gt;I am running a simple query over a large index via the CLI.  My search completes but does not give me the expected results.  For example, I may know that the string "foo" occurs in 30 sources, but when I run my search it will only (but consistently) return a subset of those sources.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;nohup /opt/splunk/bin/splunk search 'index=my_index | search foo | stats count by source' -preview false -maxout 0 -auth username:password &amp;gt; myresults.out 2&amp;gt;&amp;amp;1 &amp;amp;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm wondering if perhaps there is some internal timeout could be causing my search not to return the full set of results?&lt;/P&gt;

&lt;P&gt;And yes, a time range would help but I need to search the whole corpus, and all of the "timestamps" are within the short time period it took to index the data.&lt;/P&gt;

&lt;P&gt;I am also currently attempting to re-run my queries with preview set to true to see if this will force a different behavior.&lt;/P&gt;

&lt;P&gt;Thanks,
Kevin&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jan 2011 04:19:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timout-issue-with-CLI-queries/m-p/35512#M6464</guid>
      <dc:creator>kevintelford</dc:creator>
      <dc:date>2011-01-29T04:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Timout issue with CLI queries?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timout-issue-with-CLI-queries/m-p/35513#M6465</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_index foo | stats count by source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Your original search told Splunk to return all events in my_index to the search command 'search', and then for 'search' to filter out events with the term 'foo'.  You can see how this is inefficient and can lead to inconsistent results if you hit a search and/or disk quota before events from all the searches are returned.&lt;/P&gt;

&lt;P&gt;The above search tells Splunk to return all events in my_index that contain the term 'foo', which is going to perform much better than the original search and will make it far less likely that you hit a search and/or disk quota.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jan 2011 05:41:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timout-issue-with-CLI-queries/m-p/35513#M6465</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2011-01-29T05:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Timout issue with CLI queries?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timout-issue-with-CLI-queries/m-p/35514#M6466</link>
      <description>&lt;P&gt;I feel like such an idiot.  I was always under the impression that Splunk would normalize the query for me behind the scenes.  I just liked to make my query more verbose for reading purposes.&lt;/P&gt;

&lt;P&gt;Ah well, lesson learned.  Thanks dude.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2011 01:18:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timout-issue-with-CLI-queries/m-p/35514#M6466</guid>
      <dc:creator>kevintelford</dc:creator>
      <dc:date>2011-02-01T01:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Timout issue with CLI queries?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timout-issue-with-CLI-queries/m-p/35515#M6467</link>
      <description>&lt;P&gt;It happens!  Regarding normalization, it is really hard to guess the user's intentions, so Splunk assumes that they mean what they typed.  Still, it seems like a cool research project to put on the list.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2011 13:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timout-issue-with-CLI-queries/m-p/35515#M6467</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2011-02-01T13:01:35Z</dc:date>
    </item>
  </channel>
</rss>

