<?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 convert version number to numerical value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-version-number-to-numerical-value/m-p/534395#M151008</link>
    <description>&lt;LI-CODE lang="markup"&gt;| makeresults
| eval version = "7.10.23.1"
| rex field=version mode=sed  "s/\b(\d)\b/0\1/g s/\.//g"&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 29 Dec 2020 22:05:32 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-12-29T22:05:32Z</dc:date>
    <item>
      <title>How to convert version number to numerical value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-version-number-to-numerical-value/m-p/534393#M151007</link>
      <description>&lt;P&gt;How do I convert the following string value to a numerical value that represents two digits between the dots?&lt;/P&gt;&lt;P&gt;version = 7.10.23.1&lt;/P&gt;&lt;P&gt;I would like for this to be converted to a numeric value:&lt;/P&gt;&lt;P&gt;version = 07102301&lt;/P&gt;&lt;P&gt;The zero before the 7, does not need to show. I just need to be able to perform &amp;lt;&amp;gt; conditional or comparison functions. I appreciate your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 21:50:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-version-number-to-numerical-value/m-p/534393#M151007</guid>
      <dc:creator>splunkyj</dc:creator>
      <dc:date>2020-12-29T21:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert version number to numerical value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-version-number-to-numerical-value/m-p/534395#M151008</link>
      <description>&lt;LI-CODE lang="markup"&gt;| makeresults
| eval version = "7.10.23.1"
| rex field=version mode=sed  "s/\b(\d)\b/0\1/g s/\.//g"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 29 Dec 2020 22:05:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-version-number-to-numerical-value/m-p/534395#M151008</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-12-29T22:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert version number to numerical value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-version-number-to-numerical-value/m-p/534400#M151011</link>
      <description>&lt;P&gt;This worked beautiful!! lol. I tested various numbers, and all tested consistent. Thank you so much&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 22:22:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-version-number-to-numerical-value/m-p/534400#M151011</guid>
      <dc:creator>splunkyj</dc:creator>
      <dc:date>2020-12-29T22:22:09Z</dc:date>
    </item>
  </channel>
</rss>

