<?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 Why is Splunk not showing empty lines when ingesting files? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395693#M70560</link>
    <description>&lt;P&gt;This is such a basic question I'm almost embarrassed to ask. &lt;/P&gt;

&lt;P&gt;When I try to ingest a file into splunk that has some rows of text with empty lines in between some lines (same as in any .conf file) splunk skips the empty rows. I want to be able to see them as I wan to use those blank lines as event breakers.&lt;BR /&gt;
Why does that happen?&lt;/P&gt;

&lt;P&gt;ex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[test]
test =1
test2 = x

[test3]
blah 
blah
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 10 May 2018 15:35:22 GMT</pubDate>
    <dc:creator>MedralaG</dc:creator>
    <dc:date>2018-05-10T15:35:22Z</dc:date>
    <item>
      <title>Why is Splunk not showing empty lines when ingesting files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395693#M70560</link>
      <description>&lt;P&gt;This is such a basic question I'm almost embarrassed to ask. &lt;/P&gt;

&lt;P&gt;When I try to ingest a file into splunk that has some rows of text with empty lines in between some lines (same as in any .conf file) splunk skips the empty rows. I want to be able to see them as I wan to use those blank lines as event breakers.&lt;BR /&gt;
Why does that happen?&lt;/P&gt;

&lt;P&gt;ex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[test]
test =1
test2 = x

[test3]
blah 
blah
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 May 2018 15:35:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395693#M70560</guid>
      <dc:creator>MedralaG</dc:creator>
      <dc:date>2018-05-10T15:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk not showing empty lines when ingesting files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395694#M70561</link>
      <description>&lt;P&gt;hello there,&lt;/P&gt;

&lt;P&gt;check out this answer:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/24588/how-can-i-check-that-splunk-indexed-the-entire-contents-of-a-given-file.html"&gt;https://answers.splunk.com/answers/24588/how-can-i-check-that-splunk-indexed-the-entire-contents-of-a-given-file.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 19:29:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395694#M70561</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-05-10T19:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk not showing empty lines when ingesting files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395695#M70562</link>
      <description>&lt;P&gt;Are you breaking events in a way that each line is a separate event in Splunk? Splunk would not index blank lines, probably the reson you don't see it. If you want a whole stanza a one event, you'd need to setup your event breaking to do so. &lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 20:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395695#M70562</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-05-10T20:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk not showing empty lines when ingesting files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395696#M70563</link>
      <description>&lt;P&gt;Yes, I know that the capture group of the event breaker gets removed but this happens before I even specify the event breaker. &lt;BR /&gt;
So if I take a file and try to upload it to Splunk via the web interface, the preview part that lets you define the line breaker and all other index-time props settings already show the content of the file with no empty lines. &lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 08:14:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395696#M70563</guid>
      <dc:creator>MedralaG</dc:creator>
      <dc:date>2018-05-11T08:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk not showing empty lines when ingesting files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395697#M70564</link>
      <description>&lt;P&gt;Isn't that simply because the default line breaker is &lt;CODE&gt;([\r\n]+)&lt;/CODE&gt;. An empty line is simply a series of &lt;CODE&gt;\r&lt;/CODE&gt; and or &lt;CODE&gt;\n&lt;/CODE&gt; characters, so those will all get gobled up by the linebreaking.&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 08:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-empty-lines-when-ingesting-files/m-p/395697#M70564</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-05-11T08:30:19Z</dc:date>
    </item>
  </channel>
</rss>

