<?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: Is there an option to do an event break at the end of file (txt file)? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319582#M95541</link>
    <description>&lt;P&gt;the file usually starts with the text File version. I don't know what could I do if it doesn't have a specific pattern at the end in which I thought we need that to do an event break.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2017 20:51:37 GMT</pubDate>
    <dc:creator>tamduong16</dc:creator>
    <dc:date>2017-09-06T20:51:37Z</dc:date>
    <item>
      <title>Is there an option to do an event break at the end of file (txt file)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319579#M95538</link>
      <description>&lt;P&gt;I have a folder which contains multiple text files. I want to import these files into Splunk as events. which means each text file is 1 event. Each text file may have around 200 lines or less. Splunk seems to automatically split 1 text file to many events. What can I do to make Splunk recognize each file is an event? &lt;BR /&gt;
*Note: each file could end with anythings, there is no specific ending pattern in the text file.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 19:46:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319579#M95538</guid>
      <dc:creator>tamduong16</dc:creator>
      <dc:date>2017-09-06T19:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to do an event break at the end of file (txt file)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319580#M95539</link>
      <description>&lt;P&gt;Does the text file start with a specific pattern? &lt;/P&gt;

&lt;P&gt;You can play around with combination of below properties&lt;/P&gt;

&lt;P&gt;BREAK_ONLY_BEFORE&lt;BR /&gt;
TRUNCATE &lt;BR /&gt;
SHOULD_LINEMERGE&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.3/Admin/Propsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.3/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:39:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319580#M95539</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2020-09-29T15:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to do an event break at the end of file (txt file)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319581#M95540</link>
      <description>&lt;P&gt;You can use BREAK_ONLY_BEFORE with an impossible string (well, relatively impossible) and it should look through the whole file without finding it and voila, you have a single file going into Splunk as a single event.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:40:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319581#M95540</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2020-09-29T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to do an event break at the end of file (txt file)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319582#M95541</link>
      <description>&lt;P&gt;the file usually starts with the text File version. I don't know what could I do if it doesn't have a specific pattern at the end in which I thought we need that to do an event break.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 20:51:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319582#M95541</guid>
      <dc:creator>tamduong16</dc:creator>
      <dc:date>2017-09-06T20:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to do an event break at the end of file (txt file)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319583#M95542</link>
      <description>&lt;P&gt;All of these settings need to be on your indexer. It will make no difference if you put them on your search head. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 21:02:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319583#M95542</guid>
      <dc:creator>tmarlette</dc:creator>
      <dc:date>2017-09-06T21:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to do an event break at the end of file (txt file)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319584#M95543</link>
      <description>&lt;P&gt;@cpetterborg: thank you so much. It's work. Is it ok if you post your answer below so I could accept it?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 21:04:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319584#M95543</guid>
      <dc:creator>tamduong16</dc:creator>
      <dc:date>2017-09-06T21:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an option to do an event break at the end of file (txt file)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319585#M95544</link>
      <description>&lt;P&gt;Here you go.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 21:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-option-to-do-an-event-break-at-the-end-of-file-txt/m-p/319585#M95544</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-09-06T21:13:25Z</dc:date>
    </item>
  </channel>
</rss>

