<?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: Splunk only partially recognizes date from OPSEC logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179093#M98344</link>
    <description>&lt;P&gt;Can you answer my other question regarding the nature of your deployment (HF or UF, TA on indexers or not)?&lt;/P&gt;</description>
    <pubDate>Wed, 28 May 2014 17:12:42 GMT</pubDate>
    <dc:creator>araitz</dc:creator>
    <dc:date>2014-05-28T17:12:42Z</dc:date>
    <item>
      <title>Splunk only partially recognizes date from OPSEC logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179089#M98340</link>
      <description>&lt;P&gt;Hi there.&lt;BR /&gt;
While adding Checkpoint logs to a new Splunk installation (6.1.1) with the OPSEC addon (version 2.1.0) I noticed that Splunk seems to ignore the date from the logs, and only use the time. The current date is used even when indexing old logs.&lt;/P&gt;

&lt;P&gt;So if I have the following raw event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;loc=143934|time=2014-05-22 23:59:57|action=allow|src=132.150.36.243|s_port=63882|dst=46.137.165.40|service=80|proto=tcp|appi_name=c.richmetrics.com|matched_category=Computers / Internet|app_risk=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(Sorry for the line breaks, the fields are separated with | )&lt;/P&gt;

&lt;P&gt;Splunk actually indexes this with &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time=2014-05-27T23:59:57.000+02:00 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which is the tame the event was indexed. This is also the time/date shown in searches and on the graph.&lt;/P&gt;

&lt;P&gt;Does anyone have any suggestions on how to fix this?&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2014 13:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179089#M98340</guid>
      <dc:creator>hcpr</dc:creator>
      <dc:date>2014-05-27T13:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk only partially recognizes date from OPSEC logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179090#M98341</link>
      <description>&lt;P&gt;Hi. You might need to edit the timestamp properties in your props.conf file for Splunk to correctly parse the original timestamp. See these  docs on how Splunk reads timestamps and how to configure timestamp recognition:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps#How_Splunk_assigns_timestampshere"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps#How_Splunk_assigns_timestampshere&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.1/Data/Configuretimestamprecognition"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.1/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2014 16:08:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179090#M98341</guid>
      <dc:creator>sroback_splunk</dc:creator>
      <dc:date>2014-05-27T16:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk only partially recognizes date from OPSEC logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179091#M98342</link>
      <description>&lt;P&gt;Can you confirm that you have the following in default/props.conf?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[opsec]
SHOULD_LINEMERGE = false
TIME_PREFIX      = time=
TIME_FORMAT      = %d%b%Y %H:%M:%S
KV_MODE          = none
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you confirm that you have deployed the add-on on a Heavy Forwarder and/or have the add-on installed on your indexer(s)?&lt;/P&gt;

&lt;P&gt;The above lines will handle time parsing, either on a HF or on your indexers.  I suspect something is wrong with your configuration - maybe you manually altered the sourcetype, or the props.conf entry?&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2014 16:27:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179091#M98342</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2014-05-27T16:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk only partially recognizes date from OPSEC logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179092#M98343</link>
      <description>&lt;P&gt;Yes the the default/props.conf file contains what you mention.&lt;BR /&gt;
But still&lt;BR /&gt;
loc=4292529|time=22May2014  0:26:54|action=accept|src=132.150.245.122|s_port=58730|dst=132.150.7.52|service=53|proto=udp&lt;BR /&gt;
is indexed as occuring on todays date, but with correct time.&lt;/P&gt;

&lt;P&gt;(I've tried using both DATEFORMAT="cp" (the default) and DATEFORMAT="std" in fw1-loggrabber.conf. In both cases the time is indexed properly, but the date is ignored and set to the date at indexing time)&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2014 11:23:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179092#M98343</guid>
      <dc:creator>hcpr</dc:creator>
      <dc:date>2014-05-28T11:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk only partially recognizes date from OPSEC logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179093#M98344</link>
      <description>&lt;P&gt;Can you answer my other question regarding the nature of your deployment (HF or UF, TA on indexers or not)?&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2014 17:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179093#M98344</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2014-05-28T17:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk only partially recognizes date from OPSEC logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179094#M98345</link>
      <description>&lt;P&gt;Hi, of course &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Just missed that last time &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The opsec app is installed on the indexers and search head plus on a heavy forwarder that is doing the actual collection from the Checkpoint system.&lt;/P&gt;

&lt;P&gt;Also, the config is not changed apart form the testing with different data formats in fw1-loggrabber.conf that I mentioned above.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2014 11:01:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179094#M98345</guid>
      <dc:creator>hcpr</dc:creator>
      <dc:date>2014-06-02T11:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk only partially recognizes date from OPSEC logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179095#M98346</link>
      <description>&lt;P&gt;hcpr - you should open a support case.  We can't recreate that behavior, and haven't seen that with any of the other customers using the add-on.  My guess is that something somewhere else on the system is clobbering your configuration.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2014 20:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-only-partially-recognizes-date-from-OPSEC-logs/m-p/179095#M98346</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2014-06-04T20:58:51Z</dc:date>
    </item>
  </channel>
</rss>

