<?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: Display phone number value without commas? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238221#M188692</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;host = jims-splunk-02  source = NetMotion sourcetype = PhoneNumber |spath | rename value  as PhoneNumber|...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 09 Mar 2016 09:23:02 GMT</pubDate>
    <dc:creator>fdi01</dc:creator>
    <dc:date>2016-03-09T09:23:02Z</dc:date>
    <item>
      <title>Display phone number value without commas?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238217#M188688</link>
      <description>&lt;P&gt;Trying to display a phone number as a single value but it is getting formatted with commas:&lt;/P&gt;

&lt;P&gt;xx,xxx,xxx,xxx&lt;/P&gt;

&lt;P&gt;What just the numbers:&lt;/P&gt;

&lt;P&gt;xxxxxxxxxxx&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 22:38:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238217#M188688</guid>
      <dc:creator>simpkins1958</dc:creator>
      <dc:date>2016-03-08T22:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Display phone number value without commas?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238218#M188689</link>
      <description>&lt;P&gt;Can you post some sample events? Does your raw data already have commas in phone number values?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 22:59:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238218#M188689</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-03-08T22:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Display phone number value without commas?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238219#M188690</link>
      <description>&lt;P&gt;We have a phone number value of 12065555555&lt;/P&gt;

&lt;P&gt;and it is displaying as 12,0625,555,555&lt;/P&gt;

&lt;P&gt;Want it displayed without the commas.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 02:51:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238219#M188690</guid>
      <dc:creator>simpkins1958</dc:creator>
      <dc:date>2016-03-09T02:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Display phone number value without commas?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238220#M188691</link>
      <description>&lt;P&gt;3/8/16&lt;BR /&gt;
6:13:23.000 PM  &lt;/P&gt;

&lt;P&gt;{ [-] &lt;BR /&gt;
   adapterId: 351873050549463&lt;BR /&gt;&lt;BR /&gt;
   uid: CCD77670006B3660B91BCB1C5EDB45C0&lt;BR /&gt;&lt;BR /&gt;
   value: 12065555555&lt;BR /&gt;&lt;BR /&gt;
}  &lt;/P&gt;

&lt;P&gt;Show as raw text &lt;BR /&gt;
host = jims-splunk-02&lt;BR /&gt;&lt;BR /&gt;
 source = NetMotion&lt;BR /&gt;&lt;BR /&gt;
 sourcetype = PhoneNumber  &lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 02:52:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238220#M188691</guid>
      <dc:creator>simpkins1958</dc:creator>
      <dc:date>2016-03-09T02:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Display phone number value without commas?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238221#M188692</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;host = jims-splunk-02  source = NetMotion sourcetype = PhoneNumber |spath | rename value  as PhoneNumber|...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Mar 2016 09:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238221#M188692</guid>
      <dc:creator>fdi01</dc:creator>
      <dc:date>2016-03-09T09:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Display phone number value without commas?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238222#M188693</link>
      <description>&lt;P&gt;hi simpkins 1958,&lt;/P&gt;

&lt;P&gt;use the function &lt;CODE&gt;rmcomma()&lt;/CODE&gt; like this &lt;CODE&gt;|convert rmcomma(PhoneNumber)&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rmcomma()
Syntax: rmcomma(&amp;lt;wc-field&amp;gt;)
Description: Removes all commas from value, for example
rmcomma(1,000,000.00) returns 1000000.00. You can use wild card
characters in the field name.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Mar 2016 09:23:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238222#M188693</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2016-03-09T09:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Display phone number value without commas?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238223#M188694</link>
      <description>&lt;P&gt;Hi  simpkins1958,&lt;/P&gt;

&lt;P&gt;Try with this query, it work fine!!!!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search...| rex newPhoneNumber=phoneNumber mode=sed "s/,/ /g"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Eg: with this, &lt;CODE&gt;2,147,483,648&lt;/CODE&gt;  become &lt;CODE&gt;2 147 483 648&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 09:47:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-phone-number-value-without-commas/m-p/238223#M188694</guid>
      <dc:creator>ngatchasandra</dc:creator>
      <dc:date>2016-03-09T09:47:11Z</dc:date>
    </item>
  </channel>
</rss>

