<?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: Crashplan Service Log Date timestamp incorrect in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Crashplan-Service-Log-Date-timestamp-incorrect/m-p/470654#M80900</link>
    <description>&lt;P&gt;I would check if props.conf is located in correct place. It should be placed on the first Splunk Enterprise instance in your data flow. If it's placed on your heavy forwarder/intermediate heavy forwarder/indexer (whichever comes first), then give this configuration a try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[crashplan_service]
 SHOULD_LINEMERGE = false
 LINE_BREAKER = ([\r\n]+)(?=\[\d+\.\d+\d\.\d+)
 TIME_PREFIX = ^\[
 MAX_TIMESTAMP_LOOKAHEAD = 21
 TIME_FORMAT = %m.%d.%y %H:%M:%S.%3N
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 11 Feb 2020 19:38:45 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2020-02-11T19:38:45Z</dc:date>
    <item>
      <title>Crashplan Service Log Date timestamp incorrect</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Crashplan-Service-Log-Date-timestamp-incorrect/m-p/470653#M80899</link>
      <description>&lt;P&gt;I've looked through a lot of the posts about date timestamp extraction and I think I'm decent enough at it but for the life of me I can't figure out what is going on with my logs for Crashplan.  I found a post with a working example of &lt;A href="https://answers.splunk.com/answers/481617/how-to-troubleshoot-why-time-format-is-not-being-a.html#answer-674391"&gt;crashplan service&lt;/A&gt; log props and mine matched almost exactly but still no go.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[crashplan_service]
TIME_PREFIX = ^\[
MAX_TIMESTAMP_LOOKAHEAD = 21
TIME_FORMAT = %m.%d.%y %H:%M:%S.%3N
SHOULD_LINEMERGE = false
NO_BINARY_CHECK = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///opt/crashplan/log/service.log.0]
source = crashplan
sourcetype = crashplan_service
index = crashplan
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is one event where the day/month look to be swapped:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="1st screenshot of event and incorrect timestamp"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8388i4083D885612AEFA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="1st screenshot of event and incorrect timestamp" alt="1st screenshot of event and incorrect timestamp" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;With this event I have no idea how it's getting the day/month:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="2nd screenshot, wrong date but correct timestamp"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8389i3B145A57129961E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="2nd screenshot, wrong date but correct timestamp" alt="2nd screenshot, wrong date but correct timestamp" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 19:13:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Crashplan-Service-Log-Date-timestamp-incorrect/m-p/470653#M80899</guid>
      <dc:creator>bmorgenthaler</dc:creator>
      <dc:date>2020-02-11T19:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Crashplan Service Log Date timestamp incorrect</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Crashplan-Service-Log-Date-timestamp-incorrect/m-p/470654#M80900</link>
      <description>&lt;P&gt;I would check if props.conf is located in correct place. It should be placed on the first Splunk Enterprise instance in your data flow. If it's placed on your heavy forwarder/intermediate heavy forwarder/indexer (whichever comes first), then give this configuration a try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[crashplan_service]
 SHOULD_LINEMERGE = false
 LINE_BREAKER = ([\r\n]+)(?=\[\d+\.\d+\d\.\d+)
 TIME_PREFIX = ^\[
 MAX_TIMESTAMP_LOOKAHEAD = 21
 TIME_FORMAT = %m.%d.%y %H:%M:%S.%3N
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Feb 2020 19:38:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Crashplan-Service-Log-Date-timestamp-incorrect/m-p/470654#M80900</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-02-11T19:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Crashplan Service Log Date timestamp incorrect</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Crashplan-Service-Log-Date-timestamp-incorrect/m-p/470655#M80901</link>
      <description>&lt;P&gt;@somesoni2 I tried that out and it someone worked but then I found a number of multiline events that didn't play nicely with that. I ended up using EVENT_BREAKER&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 23:46:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Crashplan-Service-Log-Date-timestamp-incorrect/m-p/470655#M80901</guid>
      <dc:creator>bmorgenthaler</dc:creator>
      <dc:date>2020-02-11T23:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Crashplan Service Log Date timestamp incorrect</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Crashplan-Service-Log-Date-timestamp-incorrect/m-p/470656#M80902</link>
      <description>&lt;P&gt;Well I've solved my ingestion issues for CrashPlan's service log, now for the other 6.  Here is the props stanza I ended up using.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[crashplan_service]
TIME_PREFIX = ^\[
BREAK_ONLY_BEFORE = (\r\n)?\[\d{2}\.\d{2}\.\d{2}\s\d{2}\:\d{2}\:\d{2}\.\d{3}
MAX_TIMESTAMP_LOOKAHEAD = 21
MAX_EVENTS = 1000
NO_BINARY_CHECK = true
TIME_FORMAT = %m.%d.%y %H:%M:%S.%3N
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This allowed Splunk to ingest Crashplan configuration output (yay 600+ lines of xml), into a single event.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 23:49:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Crashplan-Service-Log-Date-timestamp-incorrect/m-p/470656#M80902</guid>
      <dc:creator>bmorgenthaler</dc:creator>
      <dc:date>2020-02-11T23:49:44Z</dc:date>
    </item>
  </channel>
</rss>

