<?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: Dynamic Server list? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Dynamic-Server-list/m-p/311123#M5594</link>
    <description>&lt;P&gt;First of all, thank you very much for replying, I appreciate it, I would like to kindly ask what is the next step then? what i should do or modify with this lookup to take new indexers automatically?&lt;/P&gt;

&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Feb 2018 15:07:19 GMT</pubDate>
    <dc:creator>mmcarty</dc:creator>
    <dc:date>2018-02-24T15:07:19Z</dc:date>
    <item>
      <title>Dynamic Server list?</title>
      <link>https://community.splunk.com/t5/Alerting/Dynamic-Server-list/m-p/311121#M5592</link>
      <description>&lt;P&gt;Hello &lt;BR /&gt;
this is the scenario, right now we receive an alert once our indexers capacity is above 85% &lt;BR /&gt;
we do this by an alert &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/indexes search="totalEventCount!=0" | eval coldPath.maxDataSizeMB=if('coldPath.maxDataSizeMB' = 0, null(), 'coldPath.maxDataSizeMB') | eval homePath.maxDataSizeMB=if('homePath.maxDataSizeMB' = 0, null(), 'homePath.maxDataSizeMB') | eval roof=min((coalesce('homePath.maxDataSizeMB', 4294967295) +                  coalesce('coldPath.maxDataSizeMB', 4294967295)),                 maxTotalDataSizeMB) | eval span=tostring(currentDBSizeMB) + " / " +     tostring(roof) + " MB" | eval Percent=tostring(round(currentDBSizeMB * 100 / roof)) | where Percent &amp;gt; 85
|search [**inputlookup all_servers.csv** | search role=indexer | rename host AS splunk_server | fields splunk_server] | stats first(span) AS "Capacity vs Limit" by splunk_server title minTime maxTime Percent | rename splunk_server AS Indexer title AS Index minTime AS "Oldest Event" maxTime AS "Newest Event" | table Indexer Index "Capacity vs Limit" "Oldest Event" "Newest Event" Percent
| sort - Percent
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;as you can see we are using the inputlookup all_servers.csv&lt;BR /&gt;
to define all the servers&lt;/P&gt;

&lt;P&gt;We were ask, what about new servers are onboarded and they are not being updated on the list?&lt;BR /&gt;
what if a new server is named incorrectly on the inputlookup.&lt;/P&gt;

&lt;P&gt;the question is,&lt;BR /&gt;
is there a way to tell splunk,&lt;BR /&gt;
a file or anything to tell.&lt;BR /&gt;
a new indexer is onboarded, pick it up and make it part of an alert if indexing capacity is beyond 85% trigger an alert?&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 01:10:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Dynamic-Server-list/m-p/311121#M5592</guid>
      <dc:creator>mmcarty</dc:creator>
      <dc:date>2018-02-24T01:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Server list?</title>
      <link>https://community.splunk.com/t5/Alerting/Dynamic-Server-list/m-p/311122#M5593</link>
      <description>&lt;P&gt;Your Monitoring Console already has such a lookup, it's called &lt;CODE&gt;dmc_assets&lt;/CODE&gt; and has a field &lt;CODE&gt;search_group&lt;/CODE&gt; containing &lt;CODE&gt;"dmc_group_indexer"&lt;/CODE&gt; for indexers.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 02:00:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Dynamic-Server-list/m-p/311122#M5593</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-02-24T02:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Server list?</title>
      <link>https://community.splunk.com/t5/Alerting/Dynamic-Server-list/m-p/311123#M5594</link>
      <description>&lt;P&gt;First of all, thank you very much for replying, I appreciate it, I would like to kindly ask what is the next step then? what i should do or modify with this lookup to take new indexers automatically?&lt;/P&gt;

&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 15:07:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Dynamic-Server-list/m-p/311123#M5594</guid>
      <dc:creator>mmcarty</dc:creator>
      <dc:date>2018-02-24T15:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Server list?</title>
      <link>https://community.splunk.com/t5/Alerting/Dynamic-Server-list/m-p/311124#M5595</link>
      <description>&lt;P&gt;It's updated as part of your - hopefully existing - routine to use the monitoring console: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.2/DMC/Configureindistributedmode"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.2/DMC/Configureindistributedmode&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Note, the monitoring console already comes with alerts that are close to yours, albeit monitoring disk usage rather than index usage: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.2/DMC/Platformalerts#Which_alerts_are_included.3F"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.2/DMC/Platformalerts#Which_alerts_are_included.3F&lt;/A&gt;&lt;BR /&gt;
You might be able to clone and modify that accordingly though, depending on what your actual use case is.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 15:15:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Dynamic-Server-list/m-p/311124#M5595</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-02-24T15:15:57Z</dc:date>
    </item>
  </channel>
</rss>

