<?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 to remove comma in number in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539445#M90367</link>
    <description>&lt;P&gt;In your simple xml, format the fields like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        &amp;lt;format type="number" field="count(HOSTNAME)"&amp;gt;
          &amp;lt;option name="precision"&amp;gt;0&amp;lt;/option&amp;gt;
          &amp;lt;option name="useThousandSeparators"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;/format&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2021 10:47:01 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-02-11T10:47:01Z</dc:date>
    <item>
      <title>how to remove comma in number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539316#M90353</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;I try to remove the comma in my number but it doesnt works&lt;/P&gt;&lt;P&gt;Could you help me please?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=count mode=sed "s/,/./g" 
| stats count(HOSTNAME)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 16:06:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539316#M90353</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2021-02-10T16:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove comma in number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539319#M90354</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;rex&lt;/FONT&gt; command is trying to modify a field that will be created/modified by the &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; command which follows.&amp;nbsp; Since the &lt;FONT face="courier new,courier"&gt;count&lt;/FONT&gt; function does not include commas there is no need to remove them.&lt;/P&gt;&lt;P&gt;If this does not solve the problem then please add more information to describe the problem.&amp;nbsp; Include sample results.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 16:35:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539319#M90354</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-02-10T16:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove comma in number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539391#M90358</link>
      <description>&lt;P&gt;My number which is one thousand three hundred thirty is displayed like this : "1,330" and I want this : "1330"&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 04:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539391#M90358</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2021-02-11T04:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove comma in number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539393#M90359</link>
      <description>&lt;P&gt;This may help..&lt;/P&gt;&lt;P&gt;| rex field=count mode=sed "s/,//g"&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 05:03:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539393#M90359</guid>
      <dc:creator>saravanan90</dc:creator>
      <dc:date>2021-02-11T05:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove comma in number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539416#M90364</link>
      <description>&lt;P&gt;like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count(HOSTNAME) 
| rex field=count mode=sed "s/,//g"&lt;/LI-CODE&gt;&lt;P&gt;it doesnt works&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 08:11:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539416#M90364</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2021-02-11T08:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove comma in number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539424#M90366</link>
      <description>&lt;P&gt;we can use like below..&lt;/P&gt;&lt;P&gt;| stats count(HOSTNAME)&amp;nbsp;| rex field=count(HOSTNAME) mode=sed "s/,//g"&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 08:31:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539424#M90366</guid>
      <dc:creator>saravanan90</dc:creator>
      <dc:date>2021-02-11T08:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove comma in number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539445#M90367</link>
      <description>&lt;P&gt;In your simple xml, format the fields like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        &amp;lt;format type="number" field="count(HOSTNAME)"&amp;gt;
          &amp;lt;option name="precision"&amp;gt;0&amp;lt;/option&amp;gt;
          &amp;lt;option name="useThousandSeparators"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;/format&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 10:47:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539445#M90367</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-11T10:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove comma in number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539493#M90375</link>
      <description>&lt;P&gt;I have the message&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"&lt;/SPAN&gt;&lt;SPAN class="message-text"&gt;Node &amp;lt;format&amp;gt; is not allowed here"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="message-text"&gt;I put the xml like this :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorBy"&amp;gt;value&amp;lt;/option&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;block&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x53a051","0x53a051"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[0]&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;format type="number" field="count"&amp;gt;
          &amp;lt;option name="precision"&amp;gt;0&amp;lt;/option&amp;gt;
          &amp;lt;option name="useThousandSeparators"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;/format&amp;gt;
      &amp;lt;/single&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:57:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539493#M90375</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2021-02-11T14:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove comma in number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539495#M90376</link>
      <description>&lt;P&gt;For single visualisations try:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;option name="useThousandSeparators"&amp;gt;false&amp;lt;/option&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Feb 2021 15:08:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539495#M90376</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-11T15:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove comma in number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539503#M90377</link>
      <description>&lt;P&gt;thanks it works now!!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 15:21:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-comma-in-number/m-p/539503#M90377</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2021-02-11T15:21:14Z</dc:date>
    </item>
  </channel>
</rss>

