<?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 Passing the  variable in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Passing-the-variable/m-p/530798#M4675</link>
    <description>&lt;P&gt;| mstats avg(_value) as current where data.consumerName IN("XXXXXXX*") AND NOT (data.consumerName="*OH")AND host="*" AND `delphix_metrics_index` metric_name="system.capacity.consumer.size" span=30s by data.totalSpace, data.consumerName&lt;BR /&gt;| eval usage = round((current) / 1024 /1024/1024, 3)&lt;BR /&gt;| eval totalGB=round('data.totalSpace' / 1024 / 1024 / 1024, 3)&lt;BR /&gt;| eval name = 'data.consumerName'&lt;BR /&gt;| eval free = (totalGB - usage) -----------&amp;nbsp; i want pass the value to calculate the free space , the statment is not working can you please help&amp;nbsp;&lt;BR /&gt;| chart avg(usage) as "Usage (GB)"&lt;BR /&gt;avg(totalGB) as "Total (GB)"&lt;BR /&gt;avg(free GB) as "FREE MB" by name&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 11:40:40 GMT</pubDate>
    <dc:creator>bmkreddy234</dc:creator>
    <dc:date>2020-11-25T11:40:40Z</dc:date>
    <item>
      <title>Passing the  variable</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Passing-the-variable/m-p/530798#M4675</link>
      <description>&lt;P&gt;| mstats avg(_value) as current where data.consumerName IN("XXXXXXX*") AND NOT (data.consumerName="*OH")AND host="*" AND `delphix_metrics_index` metric_name="system.capacity.consumer.size" span=30s by data.totalSpace, data.consumerName&lt;BR /&gt;| eval usage = round((current) / 1024 /1024/1024, 3)&lt;BR /&gt;| eval totalGB=round('data.totalSpace' / 1024 / 1024 / 1024, 3)&lt;BR /&gt;| eval name = 'data.consumerName'&lt;BR /&gt;| eval free = (totalGB - usage) -----------&amp;nbsp; i want pass the value to calculate the free space , the statment is not working can you please help&amp;nbsp;&lt;BR /&gt;| chart avg(usage) as "Usage (GB)"&lt;BR /&gt;avg(totalGB) as "Total (GB)"&lt;BR /&gt;avg(free GB) as "FREE MB" by name&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 11:40:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Passing-the-variable/m-p/530798#M4675</guid>
      <dc:creator>bmkreddy234</dc:creator>
      <dc:date>2020-11-25T11:40:40Z</dc:date>
    </item>
    <item>
      <title>Passing the  variable</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Passing-the-variable/m-p/530803#M4676</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229122"&gt;@bmkreddy234&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you see values for totalGB and usage before eval free statement ?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 12:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Passing-the-variable/m-p/530803#M4676</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-11-25T12:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the  variable</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Passing-the-variable/m-p/530805#M4677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229122"&gt;@bmkreddy234&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Is the issue maybe that you refer to the free space as "&lt;SPAN&gt;avg(&lt;STRONG&gt;free&lt;U&gt; GB&lt;/U&gt;&lt;/STRONG&gt;)" instead of just avg(&lt;STRONG&gt;free&lt;/STRONG&gt;)?&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Ralph&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 12:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Passing-the-variable/m-p/530805#M4677</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2020-11-25T12:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the  variable</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Passing-the-variable/m-p/530806#M4678</link>
      <description>&lt;P&gt;yes&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 12:09:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Passing-the-variable/m-p/530806#M4678</guid>
      <dc:creator>bmkreddy234</dc:creator>
      <dc:date>2020-11-25T12:09:12Z</dc:date>
    </item>
  </channel>
</rss>

