<?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: I have field DivionsID with data of Exe.123, how to trim this to just 123 ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548025#M155406</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233499"&gt;@sumandevops&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can use rex command, below will output a new field &lt;STRONG&gt;div_no&lt;/STRONG&gt;.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=DivionsID "(?&amp;lt;div_no&amp;gt;\d+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Apr 2021 15:18:53 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-04-15T15:18:53Z</dc:date>
    <item>
      <title>I have field DivionsID with data of Exe.123, how to trim this to just 123 ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548019#M155403</link>
      <description>&lt;P&gt;I have field DivionsID with data of Exe.123, how to trim this to just 123 ?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 14:20:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548019#M155403</guid>
      <dc:creator>sumandevops</dc:creator>
      <dc:date>2021-04-15T14:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: I have field DivionsID with data of Exe.123, how to trim this to just 123 ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548025#M155406</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233499"&gt;@sumandevops&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can use rex command, below will output a new field &lt;STRONG&gt;div_no&lt;/STRONG&gt;.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=DivionsID "(?&amp;lt;div_no&amp;gt;\d+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 15:18:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548025#M155406</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-04-15T15:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: I have field DivionsID with data of Exe.123, how to trim this to just 123 ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548035#M155413</link>
      <description>&lt;P&gt;why create a new&amp;nbsp;&lt;SPAN&gt;field&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;div_no?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;| rex filed = DivisionId " (?&amp;lt;DivisionId&amp;gt;\d+)" wouldn’t work?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 15:59:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548035#M155413</guid>
      <dc:creator>sumandevops</dc:creator>
      <dc:date>2021-04-15T15:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: I have field DivionsID with data of Exe.123, how to trim this to just 123 ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548036#M155414</link>
      <description>&lt;P&gt;this is not working mate&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 16:09:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548036#M155414</guid>
      <dc:creator>sumandevops</dc:creator>
      <dc:date>2021-04-15T16:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: I have field DivionsID with data of Exe.123, how to trim this to just 123 ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548038#M155416</link>
      <description>&lt;P&gt;ideally regex should work if not you could try the replace command something like below&lt;/P&gt;&lt;P&gt;|makeresults |eval data="Exe.123" |replace "Exe.123" with "123" |table data&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 16:16:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548038#M155416</guid>
      <dc:creator>venky1544</dc:creator>
      <dc:date>2021-04-15T16:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: I have field DivionsID with data of Exe.123, how to trim this to just 123 ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548044#M155420</link>
      <description>&lt;P&gt;I didn't get you, please elaborate&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 16:35:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548044#M155420</guid>
      <dc:creator>sumandevops</dc:creator>
      <dc:date>2021-04-15T16:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: I have field DivionsID with data of Exe.123, how to trim this to just 123 ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548059#M155425</link>
      <description>&lt;P&gt;If you want to overwrite the field it should work;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field = DivisionId "(?&amp;lt;DivisionId&amp;gt;\d+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 15 Apr 2021 17:28:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548059#M155425</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-04-15T17:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: I have field DivionsID with data of Exe.123, how to trim this to just 123 ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548063#M155428</link>
      <description>&lt;P&gt;HI Suman&amp;nbsp;&lt;/P&gt;&lt;P&gt;you wanted to trim the data Exe.123 to 123 right so you can either use regex like others or specifying or use the replace command&amp;nbsp;&lt;/P&gt;&lt;P&gt;it would be great if could share the more about the data and what command are you executing with regex&amp;nbsp;&lt;/P&gt;&lt;P&gt;its not helping when you say its not working or please elaborate&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 17:42:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-have-field-DivionsID-with-data-of-Exe-123-how-to-trim-this-to/m-p/548063#M155428</guid>
      <dc:creator>venky1544</dc:creator>
      <dc:date>2021-04-15T17:42:12Z</dc:date>
    </item>
  </channel>
</rss>

