<?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: Timestamp extraction config (props) is not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682220#M113974</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/121137"&gt;@KendallW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I receive the log via UDP from the heavy forwarder connected to the indexer. After setting the sourcetype to temp in the heavy forwarder (inputs), the sourcetype is set to override according to the host and regular expression. Is it correct to extract timestamps in the heavy forwarder props? No matter how many times I apply the settings you mentioned, it doesn't work.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2024 04:10:27 GMT</pubDate>
    <dc:creator>dongwonn</dc:creator>
    <dc:date>2024-03-28T04:10:27Z</dc:date>
    <item>
      <title>Timestamp extraction config (props) is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/681927#M113931</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log &amp;nbsp;:&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Mar 22 10:50:51 x.x.x.21 Mar 22 11:55:00 Device version -: [2024-03-22 11:54:12] Event : , IP : , MAC : , Desc :&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Props :&lt;/P&gt;&lt;P class=""&gt;[host::x.x.x.21]&lt;/P&gt;&lt;P class=""&gt;CHARSET = utf8&lt;BR /&gt;TIME_PREFIX = \-:\s\[&lt;BR /&gt;TIME_FORMAT = %Y-%m-%d %H:%M:%S&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;When I check _time field, value is still 2021-03-22 10:50:51.&lt;/P&gt;&lt;P class=""&gt;I think Device's IP is x.x.x.21.&lt;/P&gt;&lt;P class=""&gt;So it seems that 21 is recognized as the year and I config props.&lt;/P&gt;&lt;P class=""&gt;But props is not working...&lt;/P&gt;&lt;P class=""&gt;Help me Thank you.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 00:32:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/681927#M113931</guid>
      <dc:creator>dongwonn</dc:creator>
      <dc:date>2024-03-26T00:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction config (props) is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/681941#M113934</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265076"&gt;@dongwonn&lt;/a&gt;&amp;nbsp;a few things to check&lt;BR /&gt;-check the host field in Splunk matches the host:: stanza in your props.conf&lt;BR /&gt;-Since you are not explicitly specifying a lot of configs, they may be taking default values from other places. Use btool to check the full props settings being applied to this host:&lt;BR /&gt;$SPLUNK_HOME/bin/splunk cmd btool props list &lt;SPAN&gt;host::x.x.x.21&lt;BR /&gt;-Update your TIME_PREFIX to capture the full string before the timestamp beginning at the start of the event, so that Splunk will definitely exclude the preceding timestamps. Example:&lt;BR /&gt;TIME_PREFIX=^\w{3}\s\d\d\s(\d{2}\:?){3}\s(\d{0,3}\.?){4}\s\w{3}\s\d\d\s(\d{2}\:?){3}\s[\w\s]+\-:\s\[&lt;BR /&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 02:39:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/681941#M113934</guid>
      <dc:creator>KendallW</dc:creator>
      <dc:date>2024-03-26T02:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction config (props) is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/681953#M113935</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/121137"&gt;@KendallW&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;check if the issue is related to the header or to thwe regex: use a sourcetype instead of host in the stanza header.&lt;/P&gt;&lt;P&gt;Sometimes I found an issue using host or source instead sourcetype.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 06:42:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/681953#M113935</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-26T06:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction config (props) is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682217#M113972</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;Thank you for your answer. I already tried it but it doesn't work. I'll try it one more time!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 01:09:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682217#M113972</guid>
      <dc:creator>dongwonn</dc:creator>
      <dc:date>2024-03-28T01:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction config (props) is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682218#M113973</link>
      <description>&lt;P&gt;Thank you for answer! I tried specifying and applying all the regular expressions as you answered, but it doesn't work. It's difficult...&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 01:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682218#M113973</guid>
      <dc:creator>dongwonn</dc:creator>
      <dc:date>2024-03-28T01:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction config (props) is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682220#M113974</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/121137"&gt;@KendallW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I receive the log via UDP from the heavy forwarder connected to the indexer. After setting the sourcetype to temp in the heavy forwarder (inputs), the sourcetype is set to override according to the host and regular expression. Is it correct to extract timestamps in the heavy forwarder props? No matter how many times I apply the settings you mentioned, it doesn't work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 04:10:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682220#M113974</guid>
      <dc:creator>dongwonn</dc:creator>
      <dc:date>2024-03-28T04:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction config (props) is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682232#M113977</link>
      <description>&lt;P&gt;I don't know why, but after applying the settings and restarting, the year value was set normally.&lt;/P&gt;&lt;P&gt;[host::x.x.x.21]&lt;BR /&gt;TIME_PREFIX = ....&lt;/P&gt;&lt;P&gt;TIME_FORMAT = ....&lt;/P&gt;&lt;P&gt;So far, I have reloaded the settings with /debug/refresh, but this time I tried reloading the settings by restarting Splunk. Although the current operating environment is difficult to operate with just one server, is it possible that there may be cases where new settings are not reloaded?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 07:01:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682232#M113977</guid>
      <dc:creator>dongwonn</dc:creator>
      <dc:date>2024-03-28T07:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction config (props) is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682234#M113978</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265076"&gt;@dongwonn&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;not all the configuration are reloaded with&amp;nbsp;&lt;SPAN&gt;/debug/refresh.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For this reason it's always better to restart Splunk.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 06:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682234#M113978</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-28T06:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp extraction config (props) is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682238#M113980</link>
      <description>&lt;P&gt;Oh, in the future, timestamp issues will have to be resolved by restarting the instance. thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 07:09:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-extraction-config-props-is-not-working/m-p/682238#M113980</guid>
      <dc:creator>dongwonn</dc:creator>
      <dc:date>2024-03-28T07:09:33Z</dc:date>
    </item>
  </channel>
</rss>

