<?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: Splunk Search content for a particular string in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451592#M168254</link>
    <description>&lt;P&gt;I think Frank meant - &lt;CODE&gt;client\s+(?&amp;lt;client&amp;gt;\d+)\s+connected&lt;/CODE&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 19 Jul 2018 10:50:16 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2018-07-19T10:50:16Z</dc:date>
    <item>
      <title>Splunk Search content for a particular string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451590#M168252</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I have search in search head which gives output like in snapshot.&lt;BR /&gt;
Now i want to assign a new field to client no like client 26 , client 31 . All these (client 26, client 31 etc) should have a particular field. &lt;BR /&gt;
I have tried to used eval command but did not get exact function to be used.&lt;BR /&gt;
Please help me . Snapshot is attached.&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5402i3A20D9514F71EC0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 06:57:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451590#M168252</guid>
      <dc:creator>kaushal21rajput</dc:creator>
      <dc:date>2018-07-19T06:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search content for a particular string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451591#M168253</link>
      <description>&lt;P&gt;Assuming you want to extract the number into a field called client, you can do that using the rex command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex "client\s+(?&amp;lt;client&amp;gt;\d+)\s+connected"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Jul 2018 10:35:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451591#M168253</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-07-19T10:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search content for a particular string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451592#M168254</link>
      <description>&lt;P&gt;I think Frank meant - &lt;CODE&gt;client\s+(?&amp;lt;client&amp;gt;\d+)\s+connected&lt;/CODE&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 10:50:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451592#M168254</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-07-19T10:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search content for a particular string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451593#M168255</link>
      <description>&lt;P&gt;Oh, yeah, sorry, forgot to post it as code, which makes the triangular brackets disappear. Fixed it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 11:04:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451593#M168255</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-07-19T11:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search content for a particular string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451594#M168256</link>
      <description>&lt;P&gt;Fun stuff ; -) &lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 11:07:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451594#M168256</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-07-19T11:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search content for a particular string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451595#M168257</link>
      <description>&lt;P&gt;Hi Ddrillic/FrankVI ,&lt;/P&gt;

&lt;P&gt;I want to assign output value like  "client 26 , client 36" to an another field .&lt;/P&gt;

&lt;P&gt;These values should be visible in interesting fields.&lt;/P&gt;

&lt;P&gt;That is my question.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 08:01:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-content-for-a-particular-string/m-p/451595#M168257</guid>
      <dc:creator>kaushal21rajput</dc:creator>
      <dc:date>2018-07-24T08:01:43Z</dc:date>
    </item>
  </channel>
</rss>

