<?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: Why is the regex creating empty events from incoming data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-regex-creating-empty-events-from-incoming-data/m-p/396432#M115116</link>
    <description>&lt;P&gt;Hi @derekho55  ,&lt;/P&gt;

&lt;P&gt;Did you have a chance to check out any answers? If it worked, please resolve this post by approving it! If your problem is still not solved, keep us updated so that someone else can help you. &lt;/P&gt;

&lt;P&gt;Thanks for posting!&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2019 21:56:46 GMT</pubDate>
    <dc:creator>evania</dc:creator>
    <dc:date>2019-06-17T21:56:46Z</dc:date>
    <item>
      <title>Why is the regex creating empty events from incoming data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-regex-creating-empty-events-from-incoming-data/m-p/396430#M115114</link>
      <description>&lt;P&gt;I have a log text file that captures logs in this format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;----------------------------------------
Timestamp: 5/9/2019 1:16:02 AM

Message:  Blah Blah

----------------------------------------
----------------------------------------
Timestamp: 5/9/2019 1:20:05 AM

Message: Bla Bla

----------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm struggling with creating a regex expression that will not treat it as a new (empty) event.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;----------------------------------------
----------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please help. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 20:19:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-regex-creating-empty-events-from-incoming-data/m-p/396430#M115114</guid>
      <dc:creator>derekho55</dc:creator>
      <dc:date>2019-05-31T20:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the regex creating empty events from incoming data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-regex-creating-empty-events-from-incoming-data/m-p/396431#M115115</link>
      <description>&lt;P&gt;This method will break the event and remove the top and bottom dashed lines from the event. &lt;/P&gt;

&lt;P&gt;LINE_BREAKER = (\s+-+[\n\r\s]+-+)|(\s+-+[\n\r\s]+)&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 21:55:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-regex-creating-empty-events-from-incoming-data/m-p/396431#M115115</guid>
      <dc:creator>aromanauskas</dc:creator>
      <dc:date>2019-05-31T21:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the regex creating empty events from incoming data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-regex-creating-empty-events-from-incoming-data/m-p/396432#M115116</link>
      <description>&lt;P&gt;Hi @derekho55  ,&lt;/P&gt;

&lt;P&gt;Did you have a chance to check out any answers? If it worked, please resolve this post by approving it! If your problem is still not solved, keep us updated so that someone else can help you. &lt;/P&gt;

&lt;P&gt;Thanks for posting!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 21:56:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-regex-creating-empty-events-from-incoming-data/m-p/396432#M115116</guid>
      <dc:creator>evania</dc:creator>
      <dc:date>2019-06-17T21:56:46Z</dc:date>
    </item>
  </channel>
</rss>

