<?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: WIndows Event Line Break in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92701#M19248</link>
    <description>&lt;P&gt;Is it possible to include a sanitized props.conf?&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2013 23:13:01 GMT</pubDate>
    <dc:creator>jodros</dc:creator>
    <dc:date>2013-01-22T23:13:01Z</dc:date>
    <item>
      <title>WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92696#M19243</link>
      <description>&lt;P&gt;Have the following defined in my inputs.conf &lt;/P&gt;

&lt;P&gt;[WinEventLog:Security]&lt;BR /&gt;
disabled=0&lt;BR /&gt;
start_from = oldest &lt;BR /&gt;
current_only = 0&lt;BR /&gt;
evt_resolve_ad_obj = 1&lt;BR /&gt;
checkpointInterval = 5&lt;/P&gt;

&lt;P&gt;Have the following defined in my props.conf&lt;/P&gt;

&lt;P&gt;[default]&lt;/P&gt;

&lt;P&gt;BREAK_ONLY_BEFORE_DATE = True&lt;/P&gt;

&lt;P&gt;Log File&lt;BR /&gt;
01/18/2013 11:45:55 AM&lt;BR /&gt;
LogName=Security&lt;BR /&gt;
SourceName=Microsoft Windows security auditing.&lt;BR /&gt;
EventCode=4634&lt;BR /&gt;
EventType=0&lt;BR /&gt;
Type=Information&lt;BR /&gt;
ComputerName=XXXX&lt;BR /&gt;
TaskCategory=Logoff&lt;BR /&gt;
OpCode=Info&lt;/P&gt;

&lt;P&gt;-----Line Break is Occurring Here -----&lt;/P&gt;

&lt;P&gt;RecordNumber=1173295928&lt;BR /&gt;
Keywords=Audit Success&lt;BR /&gt;
Message=An account was logged off.&lt;BR /&gt;
Subject:&lt;BR /&gt;
    Security ID:        XXX&lt;BR /&gt;
    Account Name:       XXX&lt;BR /&gt;
    Account Domain:     XXX&lt;BR /&gt;
    Logon ID:       XXX&lt;BR /&gt;
Logon Type:         3&lt;BR /&gt;
This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer.&lt;/P&gt;

&lt;P&gt;Should be only breaking on the date however from above, its breaking at the Record number.  This is happening on only 2 of my DC's, Splunk from what I can see is configured the same way on all 5 of my DC's.  Anyone have any ideas on what this could be??&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:08:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92696#M19243</guid>
      <dc:creator>arrowsmith3</dc:creator>
      <dc:date>2020-09-28T13:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92697#M19244</link>
      <description>&lt;P&gt;It appears that Splunk sees the value of the RecordNumber and equates that to epoch time.  Does the second half of the event gets timestamped Wed, 07 Mar 2007 19:32:08 GMT?&lt;/P&gt;

&lt;P&gt;What might help is to define the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; and possibly utilize the &lt;CODE&gt;BREAK_ONLY_BEFORE&lt;/CODE&gt; in the props.conf for that sourcetype.  Something like this might work:&lt;/P&gt;

&lt;P&gt;props.conf on indexing server&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Security]
TIME_FORMAT = %m\/%d\/%Y %H:%M:%S %p
BREAK_ONLY_BEFORE = \d+\/\d+\/\d+\s+\d+:\d+:\d+\s+(AM|PM)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If this answer resolves your issue, please mark it as the accepted answer.  Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2013 23:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92697#M19244</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2013-01-18T23:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92698#M19245</link>
      <description>&lt;P&gt;no it appears to be timestamped the same as the top half&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2013 01:41:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92698#M19245</guid>
      <dc:creator>arrowsmith3</dc:creator>
      <dc:date>2013-01-19T01:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92699#M19246</link>
      <description>&lt;P&gt;I would still try the BREAK_ONLY_BEFORE to see if that resolves the issue.  You don't have to try the TIME_FORMAT if the BREAK_ONLY_BEFORE resolves it.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:08:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92699#M19246</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2020-09-28T13:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92700#M19247</link>
      <description>&lt;P&gt;no go on either in the props.conf.  Still showing the line break as indicated above.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 21:53:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92700#M19247</guid>
      <dc:creator>arrowsmith3</dc:creator>
      <dc:date>2013-01-22T21:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92701#M19248</link>
      <description>&lt;P&gt;Is it possible to include a sanitized props.conf?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 23:13:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92701#M19248</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2013-01-22T23:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92702#M19249</link>
      <description>&lt;P&gt;The only thing I have in my props.conf (etc/system/local ) file is what was given above.&lt;/P&gt;

&lt;P&gt;[default]&lt;/P&gt;

&lt;P&gt;[WinEventLog:Security]&lt;BR /&gt;
TIME_FORMAT = %m\/%d\/%Y %H:%M:%S %p&lt;BR /&gt;
BREAK_ONLY_BEFORE = \d+\/\d+\/\d+\s+\d+:\d+:\d+\s+(AM|PM)&lt;/P&gt;

&lt;P&gt;We are defining most of our regex extractions in the default search app.  None of which are defined for windows, we have been using the default auto extractions for windows based logging and any search time regex when needed.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:10:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92702#M19249</guid>
      <dc:creator>arrowsmith3</dc:creator>
      <dc:date>2020-09-28T13:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92703#M19250</link>
      <description>&lt;P&gt;The TIME_FORMAT might not be needed.  Also, I see some issues with the regex on the BREAK_ONLY_BEFORE.  It might be due to formatting when you pasted into the comment.  Please verify that the regex is exactly what I submitted earlier in the ticket.&lt;/P&gt;

&lt;P&gt;Also, please be sure that this goes into the props.conf on the indexing server.  Do you run a distributed Splunk environment, or single server instance?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:10:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92703#M19250</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2020-09-28T13:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92704#M19251</link>
      <description>&lt;P&gt;ok I added the stanza and BREAK_ONLY_BEFORE to our paired indexing servers&lt;/P&gt;

&lt;P&gt;[WinEventLog:Security]&lt;BR /&gt;
TIME_FORMAT = %m\/%d\/%Y %H:%M:%S %p&lt;BR /&gt;
BREAK_ONLY_BEFORE = \d+\/\d+\/\d+\s+\d+:\d+:\d+\s+(AM|PM)&lt;/P&gt;

&lt;P&gt;Still the same issue, it only happens on 2 of the 5 DC's we have...strange.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:10:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92704#M19251</guid>
      <dc:creator>arrowsmith3</dc:creator>
      <dc:date>2020-09-28T13:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92705#M19252</link>
      <description>&lt;P&gt;ok this is now working!!!  Thank you so much for your time and effort on this!!&lt;/P&gt;

&lt;P&gt;I didnt realize there was a custom sourcetype on our indexers for the windows security logs.  Once I updated the sourcetype with the BREAK_ONLY_BEFORE statement, it works!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:10:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92705#M19252</guid>
      <dc:creator>arrowsmith3</dc:creator>
      <dc:date>2020-09-28T13:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: WIndows Event Line Break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92706#M19253</link>
      <description>&lt;P&gt;Awesome!  Glad I could help.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 19:42:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WIndows-Event-Line-Break/m-p/92706#M19253</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2013-01-24T19:42:02Z</dc:date>
    </item>
  </channel>
</rss>

