<?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: Field _time modification based on _time condition .... in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-time-modification-based-on-time-condition/m-p/651111#M225127</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Could you open what it your issue which you are trying to solve with this _time change?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you trying to modify _time on search time or even in index time?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 12:19:44 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2023-07-19T12:19:44Z</dc:date>
    <item>
      <title>Field _time modification based on _time condition ....</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-time-modification-based-on-time-condition/m-p/651110#M225126</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to modify&amp;nbsp; _time value based on ... _time value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) original _time is before working hours, than set new _time to working hour start, like:&lt;/P&gt;&lt;P&gt;org _time after 00:00 before 9:00 then set new _time to 9:00&lt;/P&gt;&lt;P&gt;2) original_time is within working hour, leave it&lt;/P&gt;&lt;P&gt;3) original _time is after working hours, that modify it to next day working hour start, like&lt;/P&gt;&lt;P&gt;org _time is after 16:00 and before 24:00, then set new _time to 9:00 of next day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone has an idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 12:11:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-time-modification-based-on-time-condition/m-p/651110#M225126</guid>
      <dc:creator>pioootrek</dc:creator>
      <dc:date>2023-07-19T12:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Field _time modification based on _time condition ....</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-time-modification-based-on-time-condition/m-p/651111#M225127</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Could you open what it your issue which you are trying to solve with this _time change?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you trying to modify _time on search time or even in index time?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 12:19:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-time-modification-based-on-time-condition/m-p/651111#M225127</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-07-19T12:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Field _time modification based on _time condition ....</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-time-modification-based-on-time-condition/m-p/651119#M225131</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval _time=case(tonumber(strftime(_time,"%H")) &amp;lt; 9, relative_time(_time, "@d+9h"), tonumber(strftime(_time,"%H")) &amp;gt; 16, relative_time(_time, "@d+16h"), 1==1, _time)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Jul 2023 12:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-time-modification-based-on-time-condition/m-p/651119#M225131</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-07-19T12:53:41Z</dc:date>
    </item>
  </channel>
</rss>

