<?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: Trying to rex for an event thread in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Trying-to-rex-for-an-event-thread/m-p/385122#M1205</link>
    <description>&lt;P&gt;You have several things wrong. Note: I'm also a RegEx novice.&lt;BR /&gt;
Replace spaces with \s&lt;BR /&gt;
You didn't name an extracted field &amp;lt;&amp;gt;&lt;BR /&gt;
If the extracted word will always be between "upon" and "Notification" you can shorten the rest.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults
| eval sentence="info [native] Creating Memory Dump upon ResourceExhausted Notification: unable to create new native thread"
| rex field=sentence "(upon\s)(?&amp;lt;extracted_thing&amp;gt;\w+)(\sNotification)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 29 Mar 2019 22:29:22 GMT</pubDate>
    <dc:creator>anthonymelita</dc:creator>
    <dc:date>2019-03-29T22:29:22Z</dc:date>
    <item>
      <title>Trying to rex for an event thread?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Trying-to-rex-for-an-event-thread/m-p/385121#M1204</link>
      <description>&lt;P&gt;This is the Error Message in the log :&lt;/P&gt;
&lt;P&gt;info [native] Creating Memory Dump upon ResourceExhausted Notification: unable to create new native thread&lt;/P&gt;
&lt;P&gt;I am trying to rex for "info [native] Creating Memory Dump upon ResourceExhausted Notification" using syntax &lt;BR /&gt;rex "Creating Memory Dump upon '(?\w+)' Notification" and display in a dashboard but it does not work.&lt;/P&gt;
&lt;P&gt;Anything wrong with it?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 16:28:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Trying-to-rex-for-an-event-thread/m-p/385121#M1204</guid>
      <dc:creator>pranay04</dc:creator>
      <dc:date>2020-06-10T16:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to rex for an event thread</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Trying-to-rex-for-an-event-thread/m-p/385122#M1205</link>
      <description>&lt;P&gt;You have several things wrong. Note: I'm also a RegEx novice.&lt;BR /&gt;
Replace spaces with \s&lt;BR /&gt;
You didn't name an extracted field &amp;lt;&amp;gt;&lt;BR /&gt;
If the extracted word will always be between "upon" and "Notification" you can shorten the rest.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults
| eval sentence="info [native] Creating Memory Dump upon ResourceExhausted Notification: unable to create new native thread"
| rex field=sentence "(upon\s)(?&amp;lt;extracted_thing&amp;gt;\w+)(\sNotification)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Mar 2019 22:29:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Trying-to-rex-for-an-event-thread/m-p/385122#M1205</guid>
      <dc:creator>anthonymelita</dc:creator>
      <dc:date>2019-03-29T22:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to rex for an event thread</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Trying-to-rex-for-an-event-thread/m-p/385123#M1206</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval _raw="info [native] Creating Memory Dump upon ResourceExhausted Notification: unable to create new native thread"
| rex "^(?&amp;lt;msg&amp;gt;[^:]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Apr 2019 04:48:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Trying-to-rex-for-an-event-thread/m-p/385123#M1206</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-01T04:48:45Z</dc:date>
    </item>
  </channel>
</rss>

