<?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 do I get specific words within a text? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-specific-words-within-a-text/m-p/385898#M112664</link>
    <description>&lt;P&gt;Hi @shtom&lt;/P&gt;

&lt;P&gt;Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your query....|rex field=ActiveLoadId "(?P&amp;lt;ActiveLoadId&amp;gt;.*)-"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 12 Feb 2019 15:53:16 GMT</pubDate>
    <dc:creator>vnravikumar</dc:creator>
    <dc:date>2019-02-12T15:53:16Z</dc:date>
    <item>
      <title>How do I get specific words within a text?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-specific-words-within-a-text/m-p/385897#M112663</link>
      <description>&lt;P&gt;The below table is what I get from a search on Splunk"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;ActiveLoadId&lt;/STRONG&gt;&lt;BR /&gt;
Jabber_for_iOS-12.1.2.270036&lt;BR /&gt;
Jabber_for_iOS-12.0.1.263155&lt;BR /&gt;
Jabber_for_Android-12.5.1.276987&lt;BR /&gt;
Jabber_for_Windows-11.9.3.60004&lt;BR /&gt;
Jabber_for_Windows-12.5.0.22884&lt;/P&gt;

&lt;P&gt;But what i want is to modify the output text under Field "ActiveLoadID" to see the first few characters. Example below:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;ActiveLoadId&lt;/STRONG&gt;&lt;BR /&gt;
Jabber_for_iOS&lt;BR /&gt;
Jabber_for_iOS&lt;BR /&gt;
Jabber_for_Android&lt;BR /&gt;
Jabber_for_Windows&lt;BR /&gt;
Jabber_for_Windows&lt;/P&gt;

&lt;P&gt;My current query is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; "ActiveLoadId=Jabber_for" | rare limit=20000 ActiveLoadId
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Appreciate your help!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:15:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-specific-words-within-a-text/m-p/385897#M112663</guid>
      <dc:creator>shtom</dc:creator>
      <dc:date>2020-09-29T23:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get specific words within a text?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-specific-words-within-a-text/m-p/385898#M112664</link>
      <description>&lt;P&gt;Hi @shtom&lt;/P&gt;

&lt;P&gt;Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your query....|rex field=ActiveLoadId "(?P&amp;lt;ActiveLoadId&amp;gt;.*)-"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Feb 2019 15:53:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-specific-words-within-a-text/m-p/385898#M112664</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-12T15:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get specific words within a text?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-specific-words-within-a-text/m-p/385899#M112665</link>
      <description>&lt;P&gt;beautiful.....it worked&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 20:05:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-specific-words-within-a-text/m-p/385899#M112665</guid>
      <dc:creator>shtom</dc:creator>
      <dc:date>2019-02-12T20:05:11Z</dc:date>
    </item>
  </channel>
</rss>

