<?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 can I get UsePct in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387748#M172092</link>
    <description>&lt;P&gt;Oh, that's why......&lt;BR /&gt;
My main language isn't English, I got you wrong.&lt;/P&gt;

&lt;P&gt;Let me check the relevant fields.......&lt;/P&gt;

&lt;P&gt;Thank you very much&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2019 12:16:02 GMT</pubDate>
    <dc:creator>leov123</dc:creator>
    <dc:date>2019-04-02T12:16:02Z</dc:date>
    <item>
      <title>How can I get UsePct</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387742#M172086</link>
      <description>&lt;P&gt;Please tell me know how can I get UsePct data?&lt;/P&gt;

&lt;P&gt;I must get the UsePct data which the MountedOn="/tmp" . Already type like below:&lt;/P&gt;

&lt;P&gt;index=* sourcetype=df  MountedOn="/tmp"&lt;BR /&gt;
|table host,UsePct&lt;/P&gt;

&lt;P&gt;But that hav't any result of UsePct.&lt;BR /&gt;
Please help me.&lt;/P&gt;

&lt;P&gt;I try type like below, but still not good..........&lt;/P&gt;

&lt;P&gt;index=* source=df "/tmp"&lt;BR /&gt;
| multikv fields Filesystem Avail UsePct&lt;BR /&gt;
| table host,UsePct&lt;/P&gt;

&lt;P&gt;Please.......help me....&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 09:17:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387742#M172086</guid>
      <dc:creator>leov123</dc:creator>
      <dc:date>2019-04-02T09:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get UsePct</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387743#M172087</link>
      <description>&lt;P&gt;are you using the Nix TA?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 10:55:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387743#M172087</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-04-02T10:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get UsePct</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387744#M172088</link>
      <description>&lt;P&gt;yes....but  the linux...&lt;/P&gt;

&lt;P&gt;Could you help me?&lt;/P&gt;

&lt;P&gt;It's driving me nuts...........&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 11:22:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387744#M172088</guid>
      <dc:creator>leov123</dc:creator>
      <dc:date>2019-04-02T11:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get UsePct</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387745#M172089</link>
      <description>&lt;P&gt;you can use either fields &lt;CODE&gt;Mount&lt;/CODE&gt; or &lt;CODE&gt;MountedOn&lt;/CODE&gt; and then use the &lt;CODE&gt;PercentUsedSpace&lt;/CODE&gt; or &lt;CODE&gt;PercentFreeSpace&lt;/CODE&gt; fields&lt;BR /&gt;
verify you have them and so something like this:&lt;BR /&gt;
&lt;CODE&gt;index=os sourcetype=df MountedOn="\tmp" | stats latest(PercentFreeSpace) as last_free Avg(PercentFreeSpace) as avg_free ... by host&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 11:31:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387745#M172089</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-04-02T11:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get UsePct</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387746#M172090</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;

&lt;P&gt;But when I use Mounted or Mount in the Search &lt;/P&gt;

&lt;P&gt;the result of Events and Statistics is "No results found. Try expanding the time range. "&lt;/P&gt;

&lt;P&gt;However, only type in &lt;BR /&gt;
index=* sourcetype=df "tmp"&lt;BR /&gt;
I can get some data of the result&lt;/P&gt;

&lt;P&gt;Finally...I type like below&lt;/P&gt;

&lt;P&gt;index=* sourcetype=df "/tmp"&lt;BR /&gt;
| stats   latest(PercentUsedSpace) as last_free Avg(PercentUsedSpace) as avg_free by host&lt;BR /&gt;
| table host,last_free,avg_free&lt;/P&gt;

&lt;P&gt;But the last_free and avg_free  in table of Statistics still empty.........&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:55:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387746#M172090</guid>
      <dc:creator>leov123</dc:creator>
      <dc:date>2020-09-29T23:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get UsePct</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387747#M172091</link>
      <description>&lt;P&gt;do you see the relevant fields? PercentUsedSpace PercentFreeSpace&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 11:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387747#M172091</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-04-02T11:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get UsePct</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387748#M172092</link>
      <description>&lt;P&gt;Oh, that's why......&lt;BR /&gt;
My main language isn't English, I got you wrong.&lt;/P&gt;

&lt;P&gt;Let me check the relevant fields.......&lt;/P&gt;

&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 12:16:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-UsePct/m-p/387748#M172092</guid>
      <dc:creator>leov123</dc:creator>
      <dc:date>2019-04-02T12:16:02Z</dc:date>
    </item>
  </channel>
</rss>

