<?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 How does the Manager generate index data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104894#M27181</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Is there a way to create an index alert based on when the last event was received?  I see the values I want to check in the Manager &amp;gt; Indexes, but I don't know of an effective way to create a similar search that doesn't have a noticeable performance impact (index=* based searches has a performance impact)&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2011 02:22:34 GMT</pubDate>
    <dc:creator>williamsweat</dc:creator>
    <dc:date>2011-05-19T02:22:34Z</dc:date>
    <item>
      <title>How does the Manager generate index data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104894#M27181</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Is there a way to create an index alert based on when the last event was received?  I see the values I want to check in the Manager &amp;gt; Indexes, but I don't know of an effective way to create a similar search that doesn't have a noticeable performance impact (index=* based searches has a performance impact)&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2011 02:22:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104894#M27181</guid>
      <dc:creator>williamsweat</dc:creator>
      <dc:date>2011-05-19T02:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: How does the Manager generate index data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104895#M27182</link>
      <description>&lt;P&gt;Please try the following search with a small time range, such as Last 15 min;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
| dbinspect index=main &lt;BR /&gt;
    | convert timeformat="%m/%d/%Y:%H:%M:%S"  mktime(latestTime) AS Last&lt;BR /&gt;
    | eval Diff=now()-Last &lt;BR /&gt;
    | table latestTime Diff Last &lt;BR /&gt;
    | where Diff &amp;gt; 0 &lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Change the threshod in where command, and set the condition to kick your alert.&lt;/P&gt;

&lt;P&gt;For more information about each search command, please visit:&lt;BR /&gt;
&lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/WhatsInThisManual"&gt;http://www.splunk.com/base/Documentation/latest/SearchReference/WhatsInThisManual&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2011 03:46:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104895#M27182</guid>
      <dc:creator>Masa</dc:creator>
      <dc:date>2011-05-19T03:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How does the Manager generate index data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104896#M27183</link>
      <description>&lt;P&gt;You could also do a realtime alert:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=x OR index=y OR index=z | head 1 | eval d=now()-_time | where d&amp;lt;120
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and alert when there are zero results would give you what you need efficiently if you want to be alerted when there wasn't anything for the past two minutes. &lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2011 05:00:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104896#M27183</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-05-19T05:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: How does the Manager generate index data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104897#M27184</link>
      <description>&lt;P&gt;Thanks!  This helps immensely (completely glazed over the dbinspect).  Gkanapathy, when I try that command, the results are done serially; it stops at the first index and doesn't continue to the others (also tried index=*)&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2011 18:08:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104897#M27184</guid>
      <dc:creator>williamsweat</dc:creator>
      <dc:date>2011-05-19T18:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: How does the Manager generate index data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104898#M27185</link>
      <description>&lt;P&gt;oh I didn't know you wanted results per index, i though you just wanted the most recent item overall. note that you can also use the &lt;CODE&gt;|metadata type=sourcetypes&lt;/CODE&gt; command and filter on that output too. dbinspect is probably better for index-level data though.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2011 19:43:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-does-the-Manager-generate-index-data/m-p/104898#M27185</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-05-19T19:43:15Z</dc:date>
    </item>
  </channel>
</rss>

