<?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: SA-ldapsearch TA timestamp issue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747681#M118795</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/309054"&gt;@tech_g706&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there are no fields in the event that you want to use as the _time field when it is ingested then I would recommend forcing the _time to be the ingestion time using the following props.conf update:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[yourSourcetype]
# Your other props here
# Set _time to current time
DATETIME_CONFIG = CURRENT&lt;/LI-CODE&gt;&lt;P&gt;If you want one of the fields in the event to be _time then please share the full raw event and details of the field which should be _time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jun 2025 13:31:00 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-06-09T13:31:00Z</dc:date>
    <item>
      <title>SA-ldapsearch TA timestamp issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747678#M118793</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am experiencing issue with&amp;nbsp; SA-ldapsearch TA.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;I am using this search to validate the timestamp&lt;BR /&gt;&lt;BR /&gt;index = &amp;lt;index name&amp;gt;&lt;BR /&gt;| eval bucket=_bkt&lt;BR /&gt;| eval diff = _indextime - _time&lt;BR /&gt;| eval indextime=strftime(_indextime,"%Y-%m-%d %H:%M:%S")&lt;BR /&gt;| eval capturetime=strftime(_time,"%Y-%m-%d %H:%M:%S")&lt;BR /&gt;| table indextime capturetime diff _raw&lt;BR /&gt;&lt;BR /&gt;I can see that, the&amp;nbsp;indextime&amp;nbsp; =&amp;nbsp;&lt;SPAN&gt;2025-06-08 05:00:20&amp;nbsp;but capturetime =&amp;nbsp;2020-01-13 10:00:01&lt;BR /&gt;&lt;BR /&gt;Splunk is ingesting the latest ldap events but _time field is having timestamps of 2020.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the raw event, there are multiple timestamps available:&lt;BR /&gt;&lt;BR /&gt;"whenCreated":"2018-06-05 10:43:19+00:00&lt;BR /&gt;"whenChanged":"2024-02-11 13:52:37+00:00&lt;BR /&gt;"pwdLastSet":"2019-07-24T06:41:44.698530Z&lt;BR /&gt;"lastLogonTimestamp":"2019-07-24T06:41:44.282975Z&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but I am not able to understand how the TA is extracting the 2020 timestamp from the raw as there is no such timestamp in the raw event.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 11:54:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747678#M118793</guid>
      <dc:creator>tech_g706</dc:creator>
      <dc:date>2025-06-09T11:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch TA timestamp issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747679#M118794</link>
      <description>&lt;P&gt;What do you expect/want to see for capturetime?&amp;nbsp; None of the timestamps in the event seem appropriate and all of them will either throw a warning or cause a quarantine bucket to be created.&lt;/P&gt;&lt;P&gt;Please share the props.conf settings for that sourcetype.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 12:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747679#M118794</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-06-09T12:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch TA timestamp issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747681#M118795</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/309054"&gt;@tech_g706&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there are no fields in the event that you want to use as the _time field when it is ingested then I would recommend forcing the _time to be the ingestion time using the following props.conf update:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[yourSourcetype]
# Your other props here
# Set _time to current time
DATETIME_CONFIG = CURRENT&lt;/LI-CODE&gt;&lt;P&gt;If you want one of the fields in the event to be _time then please share the full raw event and details of the field which should be _time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 13:31:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747681#M118795</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-06-09T13:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch TA timestamp issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747682#M118796</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My understanding is that, if &lt;SPAN&gt;indextime&amp;nbsp;&lt;/SPAN&gt;is today so _time should have been the same since there is no delay during ingestion.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the default props.conf that comes with the&amp;nbsp;&lt;SPAN&gt;SA-ldapsearch TA: (there is no transform.conf)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[source::.../var/log/splunk/SA-ldapsearch.log]&lt;BR /&gt;sourcetype = SA-ldapsearch&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[SA-ldapsearch]&lt;BR /&gt;EXTRACT-vars = Level=.+, (?&amp;lt;log_source&amp;gt;Pid=.+, File=.+, Line=.+), (?&amp;lt;message&amp;gt;.*)&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 13:34:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747682#M118796</guid>
      <dc:creator>tech_g706</dc:creator>
      <dc:date>2025-06-09T13:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch TA timestamp issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747684#M118797</link>
      <description>&lt;P&gt;Not quite, _indextime will always the time its indexed, however _time is usually derived/determined from the data. For some reason Splunk is detecting the incorrect time.&lt;/P&gt;&lt;P&gt;Try updating your props like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::.../var/log/splunk/SA-ldapsearch.log]
sourcetype = SA-ldapsearch
DATETIME_CONFIG = CURRENT&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 13:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SA-ldapsearch-TA-timestamp-issue/m-p/747684#M118797</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-06-09T13:37:11Z</dc:date>
    </item>
  </channel>
</rss>

