<?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: Add a number of hours to a search field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Add-a-number-of-hours-to-a-search-field/m-p/642499#M222560</link>
    <description>&lt;P&gt;Perfect thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2023 05:23:43 GMT</pubDate>
    <dc:creator>balcv</dc:creator>
    <dc:date>2023-05-08T05:23:43Z</dc:date>
    <item>
      <title>Add a number of hours to a search field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-a-number-of-hours-to-a-search-field/m-p/642495#M222558</link>
      <description>&lt;P&gt;I have a field returned with some search data that contains a date and time in UTC.&amp;nbsp; I would like to be able to add 10 hours to the time.&lt;/P&gt;
&lt;P&gt;a) Field contents(dateTime UTC):&amp;nbsp; 2023-05-08T00:24:37.6079338Z&lt;/P&gt;
&lt;P&gt;b) New field (Local dateTime):&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2023-05-08 10:24:37.607&lt;/P&gt;
&lt;P&gt;Is there a way to do the conversion from a) to b) in the search syntax?&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 10:07:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-a-number-of-hours-to-a-search-field/m-p/642495#M222558</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2023-05-08T10:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add a number of hours to a search field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-a-number-of-hours-to-a-search-field/m-p/642496#M222559</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/180486"&gt;@balcv&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can use below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval newtime=strftime(strptime(datefield,"%Y-%m-%dT%H:%M:%S.%7QZ")+36000,"%Y-%m-%dT%H:%M:%S.%3QZ")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 08 May 2023 05:03:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-a-number-of-hours-to-a-search-field/m-p/642496#M222559</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2023-05-08T05:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add a number of hours to a search field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-a-number-of-hours-to-a-search-field/m-p/642499#M222560</link>
      <description>&lt;P&gt;Perfect thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 05:23:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-a-number-of-hours-to-a-search-field/m-p/642499#M222560</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2023-05-08T05:23:43Z</dc:date>
    </item>
  </channel>
</rss>

