<?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: Event not complete in Splunk with field extraction in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19191#M294</link>
    <description>&lt;P&gt;These field extractions are applied at search-time and as such should not make any difference at all to the actual events that have been indexed. I'm thinking this might rather be an issue with Splunk interpreting the number as a date for some reason and breaking improperly. If you do a real-time search while you're sending these kinds of events into Splunk, are you seeing the "missing" data then? If so, could you check what timestamp has been applied to it?&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jul 2012 06:58:20 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2012-07-27T06:58:20Z</dc:date>
    <item>
      <title>Event not complete in Splunk with field extraction</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19190#M293</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;we're indexing Java-GC-logs. Everything is fine except some Full-GC-Entries within the logfile. They do not fully show up.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Rawdata&lt;/STRONG&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;2012-07-27T03:25:46.126+0200: 1836893.272: [GC 724411K-&amp;gt;642343K(1213440K), 0.0460068 secs]&lt;/LI&gt;
&lt;LI&gt;2012-07-27T03:25:46.177+0200: 1836893.323: [GC 650962K(1213440K), 0.0225285 secs]&lt;/LI&gt;
&lt;LI&gt;2012-07-27T03:25:46.506+0200: 1836893.653: [GC 759501K-&amp;gt;796790K(1213440K), 0.0409750 secs]&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;1836893.963: [Full GC 796790K-&amp;gt;514661K(1213440K), 6.9050747 secs]&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;2012-07-27T03:25:54.469+0200: 1836901.615: [GC 637541K(1213440K), 0.0977892 secs]&lt;/LI&gt;
&lt;LI&gt;2012-07-27T03:25:54.573+0200: 1836901.719: [GC 637541K-&amp;gt;549878K(1213440K), 0.0160404 secs]&lt;/LI&gt;
&lt;LI&gt;2012-07-27T03:26:00.488+0200: 1836907.634: [GC 662704K(1213440K), 0.1738855 secs]&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;STRONG&gt;Events in Splunk&lt;/STRONG&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;2012-07-27T03:25:46.506+0200: 1836893.653: [GC 759501K-&amp;gt;796790K(1213440K), 0.0409750 secs]&lt;/LI&gt;
&lt;LI&gt;2012-07-27T03:25:46.177+0200: 1836893.323: [GC 650962K(1213440K), 0.0225285 secs]&lt;/LI&gt;
&lt;LI&gt;2012-07-27T03:25:46.126+0200: 1836893.272: [GC 724411K-&amp;gt;642343K(1213440K), 0.0460068 secs]&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;1836893.963: [Full GC&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;2012-07-27T03:25:45.605+0200: 1836892.751: [GC 660412K-&amp;gt;608290K(1213440K), 0.2086469 secs]&lt;/LI&gt;
&lt;LI&gt;2012-07-27T03:25:45.049+0200: 1836892.195: [GC 650771K-&amp;gt;537532K(1213440K), 0.0107272 secs]&lt;/LI&gt;
&lt;LI&gt;2012-07-27T03:25:44.287+0200: 1836891.433: [GC 647165K-&amp;gt;527891K(1213440K), 0.0162234 secs&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Different versions of field extractions have been configured and are working fine.&lt;/P&gt;

&lt;P&gt;props.conf (Version1)&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
[sun_jvm]&lt;BR /&gt;
BREAK_ONLY_BEFORE = (^\d+)&lt;BR /&gt;
EXTRACT-gcFields = \[(Full ){0,1}GC\s(?&amp;lt;JVM_HeapUsedBeforeGC&amp;gt;\d+)K\D+(?&amp;lt;JVM_HeapUsedAfterGC&amp;gt;\d+)K\D+(?&amp;lt;JVM_HeapSize&amp;gt;\d+)K\S+\s(?&amp;lt;JVM_GCTimeTaken&amp;gt;\d+.\d+)\s&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;props.conf (Version 2)&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
[sun_jvm]&lt;BR /&gt;
SHOULD_LINEMERGE=TRUE&lt;BR /&gt;
REPORT-jvm = sun_jvm_gc&lt;BR /&gt;
TRANSFORMS-changesource = source-drop-date_YYYYMMDD_HHMMSS&lt;BR /&gt;
TIME_PREFIX = ^&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%Q&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;transforms.conf (Version 2)&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
[sun_jvm_gc]&lt;BR /&gt;
REGEX = \[(Full ){0,1}GC\s(?&amp;lt;JVM_HeapUsedBeforeGC&amp;gt;\d+)K-&amp;gt;(?&amp;lt;JVM_HeapUsedAfterGC&amp;gt;\d+)K\((?&amp;lt;JVM_HeapSize&amp;gt;\d+)K\),\s(?&amp;lt;JVM_GCTimeTaken&amp;gt;\d+.\d+)\ssecs\]&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;With both of the above configuration we face the same behaviour.Any idea why the event does not show up properly?&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
Andy&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 05:09:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19190#M293</guid>
      <dc:creator>kochera</dc:creator>
      <dc:date>2012-07-27T05:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Event not complete in Splunk with field extraction</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19191#M294</link>
      <description>&lt;P&gt;These field extractions are applied at search-time and as such should not make any difference at all to the actual events that have been indexed. I'm thinking this might rather be an issue with Splunk interpreting the number as a date for some reason and breaking improperly. If you do a real-time search while you're sending these kinds of events into Splunk, are you seeing the "missing" data then? If so, could you check what timestamp has been applied to it?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 06:58:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19191#M294</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-07-27T06:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Event not complete in Splunk with field extraction</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19192#M295</link>
      <description>&lt;P&gt;I'll check it out. &lt;BR /&gt;
The issue with the missing timestamp has been addressed in Java 1.6.34 and will hopefully be solved.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 07:23:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19192#M295</guid>
      <dc:creator>kochera</dc:creator>
      <dc:date>2012-07-27T07:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Event not complete in Splunk with field extraction</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19193#M296</link>
      <description>&lt;P&gt;same problem with RT-search&lt;BR /&gt;
2012-07-27T09:38:42.837+0200: 231364.383: [Full GC&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 07:40:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19193#M296</guid>
      <dc:creator>kochera</dc:creator>
      <dc:date>2012-07-27T07:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Event not complete in Splunk with field extraction</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19194#M297</link>
      <description>&lt;P&gt;OK. In that case it looks like you have some kind of index-time transform that changes the raw data before it's indexed. This is a long shot, but what does the source-drop-date_YYYYMMDD_HHMMSS transform do? If it's not relevant at all to this case, I'd look at any other TRANSFORMS or SEDCMD statements that might apply to this data.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:09:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19194#M297</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2020-09-28T12:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Event not complete in Splunk with field extraction</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19195#M298</link>
      <description>&lt;P&gt;Also, if these are single-line events, you should probably set&lt;/P&gt;

&lt;P&gt;SHOULD_LINEMERGE=false&lt;/P&gt;

&lt;P&gt;as Splunk will parse the data more quickly. And good catch, Ayn - I did not notice that the timestamp was missing on the truncated lines.&lt;/P&gt;

&lt;P&gt;What happens if you delete the TIME_FORMAT spec?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 07:53:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19195#M298</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-07-27T07:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Event not complete in Splunk with field extraction</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19196#M299</link>
      <description>&lt;P&gt;Had a look but did not find a clue what might happen to the event. I'll investigate further.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 08:46:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19196#M299</guid>
      <dc:creator>kochera</dc:creator>
      <dc:date>2012-07-27T08:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Event not complete in Splunk with field extraction</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19197#M300</link>
      <description>&lt;P&gt;This may be Java's fault.  Well, "fault" may be a little harsh, but it is a result of how certain versions of the JVM buffer GC log writes versus Splunk's assumptions of when a file is "done".&lt;/P&gt;

&lt;P&gt;When the JVM writes these messages, they don't seem to be line-buffered - so a partial line is possible, with a few-second delay until the completion of said line.  Splunk reads the log to EOF and sees the (partial) line and saves it in memory, setting a timer of some sort.  The JVM doesn't write the rest of the line until after the timer expires so Splunk's assumption is "that's all of that event" and forwards it on with a "done" flag on it.  The "done" flag is like an implicit line breaker, which makes for a broken GC log event...&lt;/P&gt;

&lt;P&gt;I don't know if there's a way to tune Splunk to "wait longer", or a way to tell the JVM "please line-buffer these"  Either would seem to help the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 11:40:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Event-not-complete-in-Splunk-with-field-extraction/m-p/19197#M300</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2012-07-27T11:40:14Z</dc:date>
    </item>
  </channel>
</rss>

