<?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: regex extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557572#M158353</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/217339"&gt;@indeed_2000&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's working for me on your given sample data. Can you please share those sample events which are not extracting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-06-29 at 2.57.16 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14873i03858D91FF16C9A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-06-29 at 2.57.16 PM.png" alt="Screenshot 2021-06-29 at 2.57.16 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 09:28:06 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2021-06-29T09:28:06Z</dc:date>
    <item>
      <title>regex extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557555#M158342</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;from this log:&lt;/P&gt;&lt;P&gt;23:52:52.758 alex appinfo: Terminating due to signal: 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I extract these item with rex:&lt;/P&gt;&lt;P&gt;user=alex&lt;/P&gt;&lt;P&gt;appname=appinfo&lt;/P&gt;&lt;P&gt;signal=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 08:00:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557555#M158342</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-06-29T08:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: regex extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557559#M158345</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/217339"&gt;@indeed_2000&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;YOUR_SEARCH| rex field=_raw "[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,3}.[0-9]{1,3}\s(?&amp;lt;user&amp;gt;\w+)\s(?&amp;lt;appname&amp;gt;\w+).*signal\:\s(?&amp;lt;signal&amp;gt;.*)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Sample Search :&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults |eval _raw="23:52:52.758 alex appinfo: Terminating due to signal: 1" | rex field=_raw "[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,3}.[0-9]{1,3}\s(?&amp;lt;user&amp;gt;\w+)\s(?&amp;lt;appname&amp;gt;\w+).*signal\:\s(?&amp;lt;signal&amp;gt;.*)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 08:19:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557559#M158345</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-06-29T08:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: regex extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557568#M158351</link>
      <description>&lt;P&gt;| rex "\S+\s(?&amp;lt;user&amp;gt;\S+)\s(?&amp;lt;appname&amp;gt;\S+):\s.*?signal:\s(?&amp;lt;signal&amp;gt;\d+)"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 08:58:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557568#M158351</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-29T08:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: regex extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557570#M158352</link>
      <description>&lt;P&gt;it work separately but not work all in same time&lt;/P&gt;&lt;P&gt;Worked&lt;/P&gt;&lt;P&gt;rex field=_raw "[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,3}.[0-9]{1,3}\s(?&amp;lt;user&amp;gt;\w+)&lt;BR /&gt;rex field=_raw "[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,3}.[0-9]{1,3}\s(?&amp;lt;appname&amp;gt;\w+)&lt;BR /&gt;rex field=_raw "[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,3}.[0-9]{1,3}&amp;nbsp;.*signal\:\s(?&amp;lt;signal&amp;gt;.*)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not worked&lt;/P&gt;&lt;P&gt;| rex field=_raw "[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,3}.[0-9]{1,3}\s(?&amp;lt;user&amp;gt;\w+)\s(?&amp;lt;appname&amp;gt;\w+).*signal\:\s(?&amp;lt;signal&amp;gt;.*)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 09:03:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557570#M158352</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-06-29T09:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: regex extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557572#M158353</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/217339"&gt;@indeed_2000&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's working for me on your given sample data. Can you please share those sample events which are not extracting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-06-29 at 2.57.16 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14873i03858D91FF16C9A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-06-29 at 2.57.16 PM.png" alt="Screenshot 2021-06-29 at 2.57.16 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 09:28:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-extraction/m-p/557572#M158353</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-06-29T09:28:06Z</dc:date>
    </item>
  </channel>
</rss>

