<?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: string to number conversion in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/string-to-number-conversion/m-p/17968#M177189</link>
    <description>&lt;P&gt;Thank u so much Ayn its worked perfectly now.&lt;BR /&gt;
Regards&lt;BR /&gt;
Ravi&lt;/P&gt;</description>
    <pubDate>Mon, 04 Feb 2013 08:58:52 GMT</pubDate>
    <dc:creator>kumar518g</dc:creator>
    <dc:date>2013-02-04T08:58:52Z</dc:date>
    <item>
      <title>string to number conversion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/string-to-number-conversion/m-p/17966#M177187</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;
i have to convert an extracted field "responcetime" values like ":1389 ms",":345 ms" to number format .as the above field is of type as string its doing sorting as string but want it as  number sorting so please help me.&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;BR /&gt;
Ravi&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 07:53:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/string-to-number-conversion/m-p/17966#M177187</guid>
      <dc:creator>kumar518g</dc:creator>
      <dc:date>2013-02-04T07:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: string to number conversion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/string-to-number-conversion/m-p/17967#M177188</link>
      <description>&lt;P&gt;Just make sure that the "responcetime" field only holds numbers, and Splunk should handle it numerically automatically. For instance you could use &lt;CODE&gt;rex&lt;/CODE&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex field=responcetime "^:(?&amp;lt;responcetime&amp;gt;\d+)" | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Feb 2013 08:21:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/string-to-number-conversion/m-p/17967#M177188</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-02-04T08:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: string to number conversion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/string-to-number-conversion/m-p/17968#M177189</link>
      <description>&lt;P&gt;Thank u so much Ayn its worked perfectly now.&lt;BR /&gt;
Regards&lt;BR /&gt;
Ravi&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 08:58:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/string-to-number-conversion/m-p/17968#M177189</guid>
      <dc:creator>kumar518g</dc:creator>
      <dc:date>2013-02-04T08:58:52Z</dc:date>
    </item>
  </channel>
</rss>

