<?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 Extra data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Extra-data/m-p/697653#M236975</link>
    <description>&lt;P&gt;I have never been one to understand regex, however I need to extract everything after the first entry (#172...) into it's own field.&amp;nbsp; Let's call it manual_entry.&amp;nbsp; I'm getting tired of searching and randomly trying things.&lt;/P&gt;
&lt;P&gt;#1724872356 exit&lt;BR /&gt;#1724872357 exit&lt;BR /&gt;#1724872463 cat .bashrc&lt;BR /&gt;#1724872485 sudo cat /etc/profile.d/join-timestamp-history.sh&lt;BR /&gt;#1724872512 exit&lt;BR /&gt;#1724877740 firefox&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;manual_entry&lt;/P&gt;
&lt;P&gt;exit&lt;BR /&gt;exit&lt;BR /&gt;cat .bashrc&lt;BR /&gt;sudo cat /etc/profile.d/join-timestamp-history.sh&lt;BR /&gt;exit&lt;BR /&gt;firefox&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2024 00:36:47 GMT</pubDate>
    <dc:creator>btheneghan</dc:creator>
    <dc:date>2024-08-29T00:36:47Z</dc:date>
    <item>
      <title>Extra data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extra-data/m-p/697653#M236975</link>
      <description>&lt;P&gt;I have never been one to understand regex, however I need to extract everything after the first entry (#172...) into it's own field.&amp;nbsp; Let's call it manual_entry.&amp;nbsp; I'm getting tired of searching and randomly trying things.&lt;/P&gt;
&lt;P&gt;#1724872356 exit&lt;BR /&gt;#1724872357 exit&lt;BR /&gt;#1724872463 cat .bashrc&lt;BR /&gt;#1724872485 sudo cat /etc/profile.d/join-timestamp-history.sh&lt;BR /&gt;#1724872512 exit&lt;BR /&gt;#1724877740 firefox&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;manual_entry&lt;/P&gt;
&lt;P&gt;exit&lt;BR /&gt;exit&lt;BR /&gt;cat .bashrc&lt;BR /&gt;sudo cat /etc/profile.d/join-timestamp-history.sh&lt;BR /&gt;exit&lt;BR /&gt;firefox&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 00:36:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extra-data/m-p/697653#M236975</guid>
      <dc:creator>btheneghan</dc:creator>
      <dc:date>2024-08-29T00:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Extra data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extra-data/m-p/697654#M236976</link>
      <description>&lt;P&gt;There's probably more than one way to do that.&amp;nbsp; If you want to use &lt;FONT face="courier new,courier"&gt;rex&lt;/FONT&gt; then this should do it.&amp;nbsp; It just takes everything after the first space as the manual_entry field.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\s(?&amp;lt;manual_entry&amp;gt;.*)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 00:08:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extra-data/m-p/697654#M236976</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-08-29T00:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Extra data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extra-data/m-p/697664#M236978</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/271686"&gt;@btheneghan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;if you already extracted the field manual_entry and the format is always the one you descripted in your samples, you could use this regex:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=manual_entry "^\#\d+\s(?&amp;lt;manual_entry&amp;gt;.*)"&lt;/LI-CODE&gt;&lt;P&gt;if you didn't extracted the field manual_entry and the format is always the one you descripted in your samples, you could use:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "^\#\d+\s(?&amp;lt;manual_entry&amp;gt;.*)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 06:59:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extra-data/m-p/697664#M236978</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-29T06:59:48Z</dc:date>
    </item>
  </channel>
</rss>

