<?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: How to configure props.conf to index txt files as one new event when text &amp;quot;~~CTRL AS~~:&amp;quot; appears, not by timestamps? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188070#M54178</link>
    <description>&lt;P&gt;Start with these specs in the relevant props.conf stanza:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE = true
TRUNCATE = 0
MAX_EVENTS = 500
BREAK_ONLY_BEFORE = ~~CTRL AS~~
DATETIME_CONFIG = current
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 21 Jan 2015 13:28:37 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2015-01-21T13:28:37Z</dc:date>
    <item>
      <title>How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188065#M54173</link>
      <description>&lt;P&gt;Hello everybody!&lt;/P&gt;

&lt;P&gt;I could use some help with this project that I've been working with...&lt;BR /&gt;
I have some .txt files which show timestamp in some lines like this " ---- FRIDAY,    05 DEC 2014 ---- "&lt;BR /&gt;
But the point is, when I index it, it's counting every single datetime as new event, and it should consider the whole .txt as ONE EVENT.&lt;BR /&gt;
The text I have in particular that defines this txt is unique is this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;~~CTRL AS~~:
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any idea how could I make a Regex for this to consider every time a " ~~CTRL AS~~: " is a new event, not based on the timestamps actually.&lt;BR /&gt;
Thanks in adv!&lt;BR /&gt;
Bst rgds!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 12:08:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188065#M54173</guid>
      <dc:creator>vtsguerrero</dc:creator>
      <dc:date>2015-01-21T12:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188066#M54174</link>
      <description>&lt;P&gt;Did you set line_breaker in your props? By default Splunk will break on the time.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/admin/Propsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 12:56:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188066#M54174</guid>
      <dc:creator>thomrs</dc:creator>
      <dc:date>2015-01-21T12:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188067#M54175</link>
      <description>&lt;P&gt;A REGEX is required to set this prop right?&lt;BR /&gt;
I know that " ~ " would match the beggining. but not the complete start of the event...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 12:58:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188067#M54175</guid>
      <dc:creator>vtsguerrero</dc:creator>
      <dc:date>2015-01-21T12:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188068#M54176</link>
      <description>&lt;P&gt;How large are the .txt files?  If they're too large then Splunk won't be able to treat them as a single event.&lt;/P&gt;

&lt;P&gt;If you can provide some sample data (not a whole file) we can better help you.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:05:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188068#M54176</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-01-21T13:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188069#M54177</link>
      <description>&lt;P&gt;Each txt has an average of 400 lines and all of'em start with this " ~~CTRL AS~~: " pattern...&lt;/P&gt;

&lt;P&gt;The data is similar to this ( I don't have all the source too &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;~~CTRL AS~~:FG8WT09UX86UBB929376293762376M92738263TROKOM S28628ITT86327UPK           293862397263755

*&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; LOGS UTDNAME: HUTHUTHYGS &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;*

06.52.22 UTF8556 ---- THURSDAY,  04 DEC 2014 ----
06.52.22 UTF8556 HASP HHIAO WLM IFOP
06.52.22 UTF8556 0PLLOAOKWMO
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And all the rest should be considered as one event even though there's a datetime present.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188069#M54177</guid>
      <dc:creator>vtsguerrero</dc:creator>
      <dc:date>2015-01-21T13:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188070#M54178</link>
      <description>&lt;P&gt;Start with these specs in the relevant props.conf stanza:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE = true
TRUNCATE = 0
MAX_EVENTS = 500
BREAK_ONLY_BEFORE = ~~CTRL AS~~
DATETIME_CONFIG = current
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:28:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188070#M54178</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-01-21T13:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188071#M54179</link>
      <description>&lt;P&gt;You probably don't want the complete start of the event.  The matching string is not included in the event so you'd want to use the smallest string.  '~~CTRL AS~~' should work.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:31:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188071#M54179</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-01-21T13:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188072#M54180</link>
      <description>&lt;P&gt;This props.conf should be placed inside the app folder right?&lt;BR /&gt;
And I should re-index the data in the preview mode to see any changes...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:43:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188072#M54180</guid>
      <dc:creator>vtsguerrero</dc:creator>
      <dc:date>2015-01-21T13:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188073#M54181</link>
      <description>&lt;P&gt;Yes, app/local/props.conf.  You must re-index.&lt;/P&gt;

&lt;P&gt;I suggest using a test index until you've found the right settings.  That makes it easier to clean up and keeps unusable events out of your regular indexes.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:46:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188073#M54181</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-01-21T13:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188074#M54182</link>
      <description>&lt;P&gt;Okay @richgalloway &lt;BR /&gt;
I'm gonna re-index it here, asap, I'll post results, thanks a lot!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:53:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188074#M54182</guid>
      <dc:creator>vtsguerrero</dc:creator>
      <dc:date>2015-01-21T13:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188075#M54183</link>
      <description>&lt;P&gt;Still tryin' to re-index it, but when I applyin' this new stanza if keeps on loading, loading, and doesn't show any data at all in the preview mode...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:16:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188075#M54183</guid>
      <dc:creator>vtsguerrero</dc:creator>
      <dc:date>2015-01-21T16:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188076#M54184</link>
      <description>&lt;P&gt;Try cutting the file down as much as possible.  Once you have it working with a few lines, add more data.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:21:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188076#M54184</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-01-21T16:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to index txt files as one new event when text "~~CTRL AS~~:" appears, not by timestamps?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188077#M54185</link>
      <description>&lt;P&gt;Just did it, and it worked perfectly as one single event!&lt;BR /&gt;
Just had to cut the last line &lt;STRONG&gt;DATETIME_CONFIG = current&lt;/STRONG&gt; wasn't allowing to load the stanza config, but once removed, it worked... Thanks a lot @richgalloway !&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 17:09:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-props-conf-to-index-txt-files-as-one-new-event/m-p/188077#M54185</guid>
      <dc:creator>vtsguerrero</dc:creator>
      <dc:date>2015-01-21T17:09:25Z</dc:date>
    </item>
  </channel>
</rss>

