<?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 do you create an alert for disk usage? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435126#M5674</link>
    <description>&lt;P&gt;Yes i did change it to my host and still didn't give me any results. Thank you for help&lt;/P&gt;</description>
    <pubDate>Tue, 16 Oct 2018 14:55:12 GMT</pubDate>
    <dc:creator>maryamchar</dc:creator>
    <dc:date>2018-10-16T14:55:12Z</dc:date>
    <item>
      <title>How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435118#M5666</link>
      <description>&lt;P&gt;Hello, &lt;BR /&gt;
Is there a way to have a query in a dashboard that sends me notification when the storage space reaches a certain amount such as 70 % of storage used?&lt;/P&gt;

&lt;P&gt;I know there is a way in the setting to enable that by going to Monitor console and alert setup -&amp;gt; DMC alert -&amp;gt; near critical disk usage. But i want to have a query instead in a dashboard that sends me an alarm too. &lt;/P&gt;

&lt;P&gt;I'm using Splunk Enterprise search and reporting. &lt;/P&gt;

&lt;P&gt;Thank you in advance! &lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 22:10:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435118#M5666</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2018-10-15T22:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435119#M5667</link>
      <description>&lt;P&gt;If you want the alert then why not just grab the SPL from the DMC and create an alert off it?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 22:34:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435119#M5667</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-10-15T22:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435120#M5668</link>
      <description>&lt;P&gt;Because that's part of setting it didn't show me the SPL. So i'm trying to write an SPL like the DMC and create alert. Is there any easy other way ?? Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 22:50:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435120#M5668</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2018-10-15T22:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435121#M5669</link>
      <description>&lt;P&gt;Hi @maryamchar ,&lt;BR /&gt;
You can use the below query to set-up the alert.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo "search string"  | where stoarge_field &amp;gt; 70
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Oct 2018 11:34:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435121#M5669</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2018-10-16T11:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435122#M5670</link>
      <description>&lt;P&gt;Here ya go. You just need to include your host value &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=_introspection sourcetype=splunk_disk_objects component=Partitions "data.mount_point"="/opt/splunk" host=&amp;lt;YOUR HOST&amp;gt; ) 
| eval free=if(isnotnull('data.available'),'data.available','data.free'), usage=round((('data.capacity' - free) / 1024),2), capacity=round(('data.capacity' / 1024),2) 
| timechart minspan=10min latest(capacity) as Capacity Median(usage) as Usage
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Oct 2018 13:52:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435122#M5670</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-10-16T13:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435123#M5671</link>
      <description>&lt;P&gt;Thank you! it did not show any results &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; is there another way to check ? &lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 14:37:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435123#M5671</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2018-10-16T14:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435124#M5672</link>
      <description>&lt;P&gt;Thank you! It didn't work for me even when i changed the % from 70 to 20 &lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 14:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435124#M5672</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2018-10-16T14:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435125#M5673</link>
      <description>&lt;P&gt;Did you change &lt;CODE&gt;host=&amp;lt;YOUR HOST&amp;gt;&lt;/CODE&gt; to your host value? &lt;/P&gt;

&lt;P&gt;It works on my end when I change it to a host in my env&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 14:41:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435125#M5673</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-10-16T14:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435126#M5674</link>
      <description>&lt;P&gt;Yes i did change it to my host and still didn't give me any results. Thank you for help&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 14:55:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435126#M5674</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2018-10-16T14:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435127#M5675</link>
      <description>&lt;P&gt;Post your query... &lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 15:02:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/435127#M5675</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-10-16T15:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do you create an alert for disk usage?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/566427#M8561</link>
      <description>&lt;P&gt;this is an old topic but, for everyone who is searching for this, there are two possible reasons why this search doesn't function:&lt;/P&gt;&lt;P&gt;- difference in mount_point&lt;/P&gt;&lt;P&gt;- forgot to put in a host value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for me it was both. it works&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 09:55:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-do-you-create-an-alert-for-disk-usage/m-p/566427#M8561</guid>
      <dc:creator>avoelk</dc:creator>
      <dc:date>2021-09-09T09:55:34Z</dc:date>
    </item>
  </channel>
</rss>

