<?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 resolve timestamp and line processing issues in pdfgen.log ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303893#M93695</link>
    <description>&lt;P&gt;I have the same problem on version 7.3.1&lt;BR /&gt;
When I have the default props.conf file in the pdfgen file, my data quality displays problems with timestamp analysis, here are the details:&lt;BR /&gt;
01-15-2020 11:56:18.641 +0100 WARN DateParserVerbose - Failed to parse timestamp in first MAX_TIMESTAMP_LOOKAHEAD (40) characters of event. Defaulting to timestamp of previous event (Wed Jan 15 11:56:15 2020). Context: source=/opt/splunk/var/log/splunk/pdfgen.log|host=xxxxxxxxxxxxx|splunk_pdfgen|2557&lt;BR /&gt;
When I add to my props.conf on the system / local / props.conf TIME_FORMAT =% Y-% m-% d% H:% M:% S,% 3N% z&lt;BR /&gt;
I also have the same problem.&lt;BR /&gt;
Do you have any ideas?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 03:43:49 GMT</pubDate>
    <dc:creator>arekdabrowski</dc:creator>
    <dc:date>2020-09-30T03:43:49Z</dc:date>
    <item>
      <title>How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303879#M93681</link>
      <description>&lt;P&gt;I am getting the below two warning messages,&lt;BR /&gt;
1. 11-27-2017 06:00:22.902 +1100 WARN  DateParserVerbose - Failed to parse timestamp. Defaulting to timestamp of previous event (Mon Nov 27 06:00:20 2017). Context: source::C:\Program Files\Splunk\var\log\splunk\pdfgen.log|host::INDEXER|splunk_pdfgen|20662&lt;/P&gt;

&lt;P&gt;11-27-2017 06:00:16.835 +1100 WARN  LineBreakingProcessor - Truncating line because limit of 10000 bytes has been exceeded with a line length &amp;gt;= 17586 - data_source="C:\Program Files\Splunk\var\log\splunk\pdfgen.log", data_host="INDEXER", data_sourcetype="splunk_pdfgen"&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Sample timestamp in pdfgen.log looks like this&lt;BR /&gt;
2017-11-27 06:01:00,206 +1100 INFO  pdfgen_table:1041 - renderTable&amp;gt; headerRow: ['host', 'src_interface', 'port_status', 'count']&lt;BR /&gt;
2017-11-27 06:01:09,519 +1100 INFO  pdfgen_endpoint:271 - Generated pdf, filename = overview-2017-11-27.pdf&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;props.conf&lt;BR /&gt;
[splunk_pdfgen]&lt;BR /&gt;
TIME_FORMAT = %m-%d-%Y %H:%M%S,%l&lt;BR /&gt;
SHOULD_LINEMERGE = False&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 40&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:57:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303879#M93681</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2020-09-29T16:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303880#M93682</link>
      <description>&lt;P&gt;Hi damode,&lt;/P&gt;

&lt;P&gt;the &lt;CODE&gt;TIME_FORMAT = %m-%d-%Y %H:%M%S,%l&lt;/CODE&gt; should be &lt;CODE&gt;TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N&lt;/CODE&gt;.&lt;BR /&gt;
Regarding the truncating add &lt;CODE&gt;TRUNCATE = 20000&lt;/CODE&gt; to the &lt;CODE&gt;props.conf&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 00:27:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303880#M93682</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-11-27T00:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303881#M93683</link>
      <description>&lt;P&gt;Hi @MuS,&lt;/P&gt;

&lt;P&gt;Thanks for your prompt reply.&lt;/P&gt;

&lt;P&gt;I have applied the suggested settings. Will let you know the outcome.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Dev&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 01:26:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303881#M93683</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-11-27T01:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303882#M93684</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/2012"&gt;@MuS&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;I am not getting Truncating line issue anymore. Thanks for that! I am still, however, getting the timestamp issues.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;11-28-2017 06:00:16.854 +1100 WARN  DateParserVerbose - Failed to parse timestamp. Defaulting to timestamp of previous event (Tue Nov 28 06:00:14 2017). Context: source::C:\Program Files\Splunk\var\log\splunk\pdfgen.log|host::INDEXER|splunk_pdfgen|126&lt;/LI&gt;
&lt;LI&gt;props.conf
[splunk_pdfgen]
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N
SHOULD_LINEMERGE = False
MAX_TIMESTAMP_LOOKAHEAD = 40
TRUNCATE = 20000&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:58:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303882#M93684</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2020-09-29T16:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303883#M93685</link>
      <description>&lt;P&gt;I just checked the default settings for &lt;CODE&gt;[splunk_pdfgen]&lt;/CODE&gt; and it actually has this option set:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; TIME_FORMAT = %m-%d-%Y %H:%M%S,%l
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So, please remove the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; you added and try again - really wired...&lt;/P&gt;

&lt;P&gt;Can you run this command &lt;CODE&gt;/opt/splunk/bin/splunk btool props list splunk_pdfgen --debug&lt;/CODE&gt; and compare to this list of options please:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/etc/system/default/props.conf                  [splunk_pdfgen]
/opt/splunk/etc/system/default/props.conf                  ADD_EXTRA_TIME_FIELDS = True
/opt/splunk/etc/system/default/props.conf                  ANNOTATE_PUNCT = True
/opt/splunk/etc/system/default/props.conf                  AUTO_KV_JSON = true
/opt/splunk/etc/system/default/props.conf                  BREAK_ONLY_BEFORE = 
/opt/splunk/etc/system/default/props.conf                  BREAK_ONLY_BEFORE_DATE = True
/opt/splunk/etc/system/default/props.conf                  CHARSET = UTF-8
/opt/splunk/etc/system/default/props.conf                  DATETIME_CONFIG = /etc/datetime.xml
/opt/splunk/etc/system/default/props.conf                  HEADER_MODE = 
/opt/splunk/etc/system/default/props.conf                  LEARN_MODEL = true
/opt/splunk/etc/system/default/props.conf                  LEARN_SOURCETYPE = true
/opt/splunk/etc/system/default/props.conf                  LINE_BREAKER_LOOKBEHIND = 100
/opt/splunk/etc/system/default/props.conf                  MATCH_LIMIT = 100000
/opt/splunk/etc/system/default/props.conf                  MAX_DAYS_AGO = 2000
/opt/splunk/etc/system/default/props.conf                  MAX_DAYS_HENCE = 2
/opt/splunk/etc/system/default/props.conf                  MAX_DIFF_SECS_AGO = 3600
/opt/splunk/etc/system/default/props.conf                  MAX_DIFF_SECS_HENCE = 604800
/opt/splunk/etc/system/default/props.conf                  MAX_EVENTS = 256
/opt/splunk/etc/system/default/props.conf                  MAX_TIMESTAMP_LOOKAHEAD = 40
/opt/splunk/etc/system/default/props.conf                  MUST_BREAK_AFTER = 
/opt/splunk/etc/system/default/props.conf                  MUST_NOT_BREAK_AFTER = 
/opt/splunk/etc/system/default/props.conf                  MUST_NOT_BREAK_BEFORE = 
/opt/splunk/etc/system/default/props.conf                  SEGMENTATION = indexing
/opt/splunk/etc/system/default/props.conf                  SEGMENTATION-all = full
/opt/splunk/etc/system/default/props.conf                  SEGMENTATION-inner = inner
/opt/splunk/etc/system/default/props.conf                  SEGMENTATION-outer = outer
/opt/splunk/etc/system/default/props.conf                  SEGMENTATION-raw = none
/opt/splunk/etc/system/default/props.conf                  SEGMENTATION-standard = standard
/opt/splunk/etc/system/default/props.conf                  SHOULD_LINEMERGE = False
/opt/splunk/etc/system/default/props.conf                  TIME_FORMAT = %m-%d-%Y %H:%M%S,%l
/opt/splunk/etc/system/default/props.conf                  TRANSFORMS = 
/opt/splunk/etc/system/default/props.conf                  TRUNCATE = 10000
/opt/splunk/etc/system/default/props.conf                  detect_trailing_nulls = false
/opt/splunk/etc/system/default/props.conf                  maxDist = 100
/opt/splunk/etc/system/default/props.conf                  priority = 
/opt/splunk/etc/system/default/props.conf                  sourcetype = 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Nov 2017 00:49:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303883#M93685</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-11-28T00:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303884#M93686</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/2012"&gt;@MuS&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;Upon comparing with the above list of options, I found the below fields having different value in comparison to yours. Everything else is same.&lt;BR /&gt;
CHARSET = AUTO&lt;BR /&gt;
TRUNCATE = 20000&lt;BR /&gt;
detect_trailing_nulls = auto&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:59:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303884#M93686</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2020-09-29T16:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303885#M93687</link>
      <description>&lt;P&gt;Hi @MuS, I had changed back to default &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt;, but that still gave the same issue.&lt;BR /&gt;
Based on the above observation, do you recommend setting the &lt;CODE&gt;[splunk_pdfgen]&lt;/CODE&gt; attributes exactly same as yours ? &lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 01:42:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303885#M93687</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-12-04T01:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303886#M93688</link>
      <description>&lt;P&gt;Well, the above settings are the Splunk default settings so they really should work.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 02:36:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303886#M93688</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-12-04T02:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303887#M93689</link>
      <description>&lt;P&gt;Now I am getting the same error from datasourcetype = licensealert-5 as well, in addition to splunk_pdfgen.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 01:30:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303887#M93689</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-12-05T01:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303888#M93690</link>
      <description>&lt;P&gt;That sounds like a bigger problem here .... also reading all you other questions. &lt;/P&gt;

&lt;P&gt;Random question: have you done a FS check lately on your Splunk server to see if everything is healthy?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 01:41:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303888#M93690</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-12-05T01:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303889#M93691</link>
      <description>&lt;P&gt;If you mean health check on DMC, then yes. &lt;BR /&gt;
On Search head, I have license warning and scheduled searches skipped messages. On Indexer, I am getting these event processing issue about which I have posted here.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 01:51:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303889#M93691</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-12-05T01:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303890#M93692</link>
      <description>&lt;P&gt;No I meant an actual file system check from the operating system.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 01:54:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303890#M93692</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-12-05T01:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303891#M93693</link>
      <description>&lt;P&gt;I just did a  file system check from the operating system using SFC.EXE /scannow and did not find any integrity violations.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 02:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303891#M93693</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-12-05T02:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303892#M93694</link>
      <description>&lt;P&gt;Hi @MuS, for some reason, the Search Head had the same hostname as the Indexer. Not sure how and when I did that. Once I changed it to its correct username, I stopped getting time parsing warning messages. I believe, that’s probably what was causing the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 23:37:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303892#M93694</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-12-13T23:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve timestamp and line processing issues in pdfgen.log ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303893#M93695</link>
      <description>&lt;P&gt;I have the same problem on version 7.3.1&lt;BR /&gt;
When I have the default props.conf file in the pdfgen file, my data quality displays problems with timestamp analysis, here are the details:&lt;BR /&gt;
01-15-2020 11:56:18.641 +0100 WARN DateParserVerbose - Failed to parse timestamp in first MAX_TIMESTAMP_LOOKAHEAD (40) characters of event. Defaulting to timestamp of previous event (Wed Jan 15 11:56:15 2020). Context: source=/opt/splunk/var/log/splunk/pdfgen.log|host=xxxxxxxxxxxxx|splunk_pdfgen|2557&lt;BR /&gt;
When I add to my props.conf on the system / local / props.conf TIME_FORMAT =% Y-% m-% d% H:% M:% S,% 3N% z&lt;BR /&gt;
I also have the same problem.&lt;BR /&gt;
Do you have any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-timestamp-and-line-processing-issues-in-pdfgen/m-p/303893#M93695</guid>
      <dc:creator>arekdabrowski</dc:creator>
      <dc:date>2020-09-30T03:43:49Z</dc:date>
    </item>
  </channel>
</rss>

