<?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: Time format for log in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539944#M4941</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214236"&gt;@justindett&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did try searching these logs with "All Time"? I don't think a way that Splunk does not ingest, most probably ingesting with wrong timestamp. For exapmle, Jul 12nd, Aug 12nd, Sep 12nd and Nov 12nd ...&lt;/P&gt;&lt;P&gt;Maybe you should update your TIME_FORMAT in your props.conf will work. If you can share your setting I will try to help.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2021 12:50:43 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-02-15T12:50:43Z</dc:date>
    <item>
      <title>Time format for log</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539930#M4937</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am struggling with some logs in a specific directory. They just don't seem to be ingested into splunk.&lt;/P&gt;&lt;P&gt;If I put a normal .log file in with a standard time format it populates just fine.&lt;/P&gt;&lt;P&gt;But these logs have the following format:&lt;/P&gt;&lt;PRE&gt;O", "message": "Test logging" }
{ "time": "2020-12-07 09:46:52.7940", "threadId": "30", "level": "INFO", "message": "Test logging" }
{ "time": "2020-12-07 12:14:34.7402", "threadId": "53", "level": "INFO", "message": "Test logging" }
{ "time": "2020-12-07 13:48:24.8650", "threadId": "12", "level": "INFO", "message": "Test logging" }
{ "time": "2020-12-08 10:33:40.0607", "threadId": "68", "level": "INFO", "message": "Test logging" }
{ "time": "2020-12-08 11:53:56.7778", "threadId": "51", "level": "INFO", "message": "Test logging" }
{ "time": "2020-12-09 08:42:53.6465", "threadId": "133", "level": "INFO", "message": "Test logging" }
{ "time": "2020-12-09 10:35:44.0103", "threadId": "152", "level": "INFO", "message": "Test logging" }
{ "time": "2020-12-11 10:38:27.0194", "threadId": "113", "level": "INFO", "message": "Test logging" }
{ "time": "2020-12-11 12:18:25.0442", "threadId": "6", "level": "INFO", "message": "Test logging" }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;And nothing comes into splunk at all. I have commented out all the timestamp options in the props.conf to force it to use default manner ,but still nothing at all.&lt;BR /&gt;&lt;BR /&gt;Is it related to a setting that should be in the props.conf?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 12:05:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539930#M4937</guid>
      <dc:creator>justindett</dc:creator>
      <dc:date>2021-02-15T12:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time format for log</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539937#M4939</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214236"&gt;@justindett&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;INDEXED_EXTRACTIONS to parse these logs with JSON events. Set below configs in &lt;STRONG&gt;props.conf&lt;/STRONG&gt; on the forwarder.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sourcetype_name]
SHOULD_LINEMERGE = true
INDEXED_EXTRACTIONS = json
KV_MODE = none
AUTO_KV_JSON = false
TIMESTAMP_FIELDS = time&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, an upvote/like would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 12:14:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539937#M4939</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-02-15T12:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Time format for log</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539938#M4940</link>
      <description>&lt;P&gt;Thanks, I'll give that a try.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 12:22:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539938#M4940</guid>
      <dc:creator>justindett</dc:creator>
      <dc:date>2021-02-15T12:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Time format for log</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539944#M4941</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214236"&gt;@justindett&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did try searching these logs with "All Time"? I don't think a way that Splunk does not ingest, most probably ingesting with wrong timestamp. For exapmle, Jul 12nd, Aug 12nd, Sep 12nd and Nov 12nd ...&lt;/P&gt;&lt;P&gt;Maybe you should update your TIME_FORMAT in your props.conf will work. If you can share your setting I will try to help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 12:50:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539944#M4941</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-02-15T12:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Time format for log</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539949#M4942</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I selected all time and still nothing. The props.conf is as follows as per manjunathmeti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[sanport:dcm]
SHOULD_LINEMERGE = true
INDEXED_EXTRACTIONS = json
KV_MODE = none
AUTO_KV_JSON = false
TIMESTAMP_FIELDS = time&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Feb 2021 13:04:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-format-for-log/m-p/539949#M4942</guid>
      <dc:creator>justindett</dc:creator>
      <dc:date>2021-02-15T13:04:46Z</dc:date>
    </item>
  </channel>
</rss>

