<?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 How to fill empty field with the time now in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-field-with-the-time-now/m-p/274937#M82925</link>
    <description>&lt;P&gt;My search throws empty time-related fields and I want to fill that compo with the current time&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2017 23:07:23 GMT</pubDate>
    <dc:creator>medveleyenet1</dc:creator>
    <dc:date>2017-02-02T23:07:23Z</dc:date>
    <item>
      <title>How to fill empty field with the time now</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-field-with-the-time-now/m-p/274937#M82925</link>
      <description>&lt;P&gt;My search throws empty time-related fields and I want to fill that compo with the current time&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 23:07:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-field-with-the-time-now/m-p/274937#M82925</guid>
      <dc:creator>medveleyenet1</dc:creator>
      <dc:date>2017-02-02T23:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty field with the time now</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-field-with-the-time-now/m-p/274938#M82926</link>
      <description>&lt;P&gt;Try adding this in to your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval now_time=now() | eval filled_time=coalesce(YourTimeFieldHere,now_time)|
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Replace YourTimeFieldHere with whatever the name of your time-related field is.  That should place the value of now() which is the current time into any empty value of your time field.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 23:41:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-field-with-the-time-now/m-p/274938#M82926</guid>
      <dc:creator>briancronrath</dc:creator>
      <dc:date>2017-02-02T23:41:41Z</dc:date>
    </item>
  </channel>
</rss>

