<?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 discard data before a timestamp? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-discard-data-before-a-timestamp/m-p/129970#M26739</link>
    <description>&lt;P&gt;Modify your props.conf file and add a '&lt;CODE&gt;TIME_PREFIX = Juniper:&lt;/CODE&gt;' statement to the appropriate stanza.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jul 2014 15:51:42 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2014-07-03T15:51:42Z</dc:date>
    <item>
      <title>how to discard data before a timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-discard-data-before-a-timestamp/m-p/129969#M26738</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I get some data (TCP syslog) from a Juniper VPN server. Unfortunately they are incorrectly parsed by splunk because some data is prepended before the timestamp. A sample of the data (this is all in one block) is below, I have replaced by &lt;CODE&gt;INFOINFOINFO&lt;/CODE&gt; the actual data from systlog (which varies):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;197 &amp;lt;134&amp;gt;Juniper: 2014-07-03 17:11:02 - INFOINFONFO234 &amp;lt;134&amp;gt;Juniper: 2014-07-03 17:11:02 - INFOINFOINFO194 &amp;lt;134&amp;gt;Juniper: 2014-07-03 17:11:02 - INFOINFOINFO
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I tell splunk to discard (first example) the string &lt;CODE&gt;197 &amp;lt;134&amp;gt;Juniper:&lt;/CODE&gt; as the actual syslog data is afterwards?&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2014 15:28:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-discard-data-before-a-timestamp/m-p/129969#M26738</guid>
      <dc:creator>wojtek_swiatek</dc:creator>
      <dc:date>2014-07-03T15:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to discard data before a timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-discard-data-before-a-timestamp/m-p/129970#M26739</link>
      <description>&lt;P&gt;Modify your props.conf file and add a '&lt;CODE&gt;TIME_PREFIX = Juniper:&lt;/CODE&gt;' statement to the appropriate stanza.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2014 15:51:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-discard-data-before-a-timestamp/m-p/129970#M26739</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-07-03T15:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to discard data before a timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-discard-data-before-a-timestamp/m-p/129971#M26740</link>
      <description>&lt;P&gt;Thank you - I added &lt;BR /&gt;
&lt;CODE&gt;[source::tcp:25890]&lt;BR /&gt;
TIME_PREFIX = Juniper:&lt;/CODE&gt; &lt;BR /&gt;
(two lines) to &lt;CODE&gt;/opt/splunk/etc/system/local/props.conf&lt;/CODE&gt; but I still get the same chunks (I tested this by sending the sting in my question via &lt;CODE&gt;netcat splunk.example.com 25890&lt;/CODE&gt;). Is there a way to debug or would you see another place I should add something?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:26:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-discard-data-before-a-timestamp/m-p/129971#M26740</guid>
      <dc:creator>wojtek_swiatek</dc:creator>
      <dc:date>2014-07-04T06:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to discard data before a timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-discard-data-before-a-timestamp/m-p/129972#M26741</link>
      <description>&lt;P&gt;After some more checks I see that:&lt;BR /&gt;
- a single line starting with "&lt;CODE&gt;Juniper:&lt;/CODE&gt;" is indexed properly (the &lt;CODE&gt;Juniper:&lt;/CODE&gt; prefix is not removed, though. But the indexed times are OK)&lt;BR /&gt;
- when several lines are concatenated they are not broken into single ones (all start with &lt;CODE&gt;Juniper:&lt;/CODE&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-discard-data-before-a-timestamp/m-p/129972#M26741</guid>
      <dc:creator>wojtek_swiatek</dc:creator>
      <dc:date>2014-07-04T06:37:11Z</dc:date>
    </item>
  </channel>
</rss>

