<?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 Display 6 digit number with decimal in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-6-digit-number-with-decimal/m-p/695734#M57012</link>
    <description>&lt;P&gt;I am trying to create a dashboard that uses a search that has a 6 digit number but need the a decimal on the last 2 numbers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the result I get.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=net Model=ERT-SCM EM_ID=Redacted
| stats count by Consumption&lt;/LI-CODE&gt;
&lt;P&gt;199486&lt;/P&gt;
&lt;P&gt;I would like it shown like this.&lt;/P&gt;
&lt;P&gt;1994.86 Kwh&lt;/P&gt;
&lt;P&gt;I have tried this but only gives me the last 2 numbers with a decimal&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| rex mode=sed field=Consumption "s/(\\d{4})/./g"&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 08 Aug 2024 17:56:36 GMT</pubDate>
    <dc:creator>MGlass</dc:creator>
    <dc:date>2024-08-08T17:56:36Z</dc:date>
    <item>
      <title>Display 6 digit number with decimal</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-6-digit-number-with-decimal/m-p/695734#M57012</link>
      <description>&lt;P&gt;I am trying to create a dashboard that uses a search that has a 6 digit number but need the a decimal on the last 2 numbers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the result I get.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=net Model=ERT-SCM EM_ID=Redacted
| stats count by Consumption&lt;/LI-CODE&gt;
&lt;P&gt;199486&lt;/P&gt;
&lt;P&gt;I would like it shown like this.&lt;/P&gt;
&lt;P&gt;1994.86 Kwh&lt;/P&gt;
&lt;P&gt;I have tried this but only gives me the last 2 numbers with a decimal&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| rex mode=sed field=Consumption "s/(\\d{4})/./g"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 08 Aug 2024 17:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Display-6-digit-number-with-decimal/m-p/695734#M57012</guid>
      <dc:creator>MGlass</dc:creator>
      <dc:date>2024-08-08T17:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Display 6 digit number with decimal</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-6-digit-number-with-decimal/m-p/695745#M57014</link>
      <description>&lt;P&gt;Have you tried math? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=net Model=ERT-SCM EM_ID=Redacted
| stats count by Consumption
| eval Consumption = exact(Consumption/100)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 19:00:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Display-6-digit-number-with-decimal/m-p/695745#M57014</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-08-08T19:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Display 6 digit number with decimal</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-6-digit-number-with-decimal/m-p/695761#M57016</link>
      <description>&lt;P&gt;Math is cool, I did try /100 but did not use exact. doh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 20:03:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Display-6-digit-number-with-decimal/m-p/695761#M57016</guid>
      <dc:creator>MGlass</dc:creator>
      <dc:date>2024-08-08T20:03:53Z</dc:date>
    </item>
  </channel>
</rss>

