<?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: Need help in extracting branch numbers from event message in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-extracting-branch-numbers-from-event-message/m-p/607767#M211335</link>
    <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; command can do that.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| table branch&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 13:38:56 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-08-01T13:38:56Z</dc:date>
    <item>
      <title>Need help in extracting branch numbers from event message</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-extracting-branch-numbers-from-event-message/m-p/607723#M211322</link>
      <description>&lt;P&gt;I have a field called RenderedMessage in event log which has the following text&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Task finished:&amp;nbsp; TaskID 1 for branch 6000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have been given the task to alert in an email all the branches that has the tasked finished.&lt;/P&gt;&lt;P&gt;In my search, I am able to get the events for this task as&lt;/P&gt;&lt;P&gt;index=prod | spath RenderedMessage | search RenderedMessage="*Task finished: ColleagueNextWeekTask*"&lt;/P&gt;&lt;P&gt;How shall I extract only the branch values from this events/message? I need only the 6000 from this.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 09:57:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-in-extracting-branch-numbers-from-event-message/m-p/607723#M211322</guid>
      <dc:creator>labaningombam</dc:creator>
      <dc:date>2022-08-01T09:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in extracting branch numbers from event message</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-extracting-branch-numbers-from-event-message/m-p/607734#M211325</link>
      <description>&lt;P&gt;Use the &lt;FONT face="courier new,courier"&gt;rex&lt;/FONT&gt; command to extract a field from another field (including _raw).&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=RenderedMessage "branch (?&amp;lt;branch&amp;gt;\d+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 12:28:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-in-extracting-branch-numbers-from-event-message/m-p/607734#M211325</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-01T12:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in extracting branch numbers from event message</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-extracting-branch-numbers-from-event-message/m-p/607762#M211331</link>
      <description>&lt;P&gt;Thank you so much, &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt; It works. Is there a way I can display only the branch after this command without showing count. I can display it with&lt;/P&gt;&lt;P&gt;| stats count by branch&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 13:25:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-in-extracting-branch-numbers-from-event-message/m-p/607762#M211331</guid>
      <dc:creator>labaningombam</dc:creator>
      <dc:date>2022-08-01T13:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in extracting branch numbers from event message</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-in-extracting-branch-numbers-from-event-message/m-p/607767#M211335</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; command can do that.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| table branch&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 13:38:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-in-extracting-branch-numbers-from-event-message/m-p/607767#M211335</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-01T13:38:56Z</dc:date>
    </item>
  </channel>
</rss>

