<?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 splunk in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/splunk/m-p/676024#M231252</link>
    <description>&lt;P&gt;lets say i have a query which is giving no result at present date but may give in future .&amp;nbsp;&lt;BR /&gt;In this query I have calculated timeval = strftime(_time,"%y-%m-%d")&amp;nbsp; , since there is not data coming so "_time" will be empty hence timeval does not give any result . But still I have to show timeval with the help of present time , how can i do that .&lt;BR /&gt;&amp;nbsp;i also used at the end of query appendpipe[stats count| where count==0&lt;BR /&gt;&amp;nbsp;eval timeval=strftime(now(),%d/%m/%Y) | where count==0] but still no result.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 09:11:32 GMT</pubDate>
    <dc:creator>Siddharthnegi</dc:creator>
    <dc:date>2024-01-31T09:11:32Z</dc:date>
    <item>
      <title>splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk/m-p/676024#M231252</link>
      <description>&lt;P&gt;lets say i have a query which is giving no result at present date but may give in future .&amp;nbsp;&lt;BR /&gt;In this query I have calculated timeval = strftime(_time,"%y-%m-%d")&amp;nbsp; , since there is not data coming so "_time" will be empty hence timeval does not give any result . But still I have to show timeval with the help of present time , how can i do that .&lt;BR /&gt;&amp;nbsp;i also used at the end of query appendpipe[stats count| where count==0&lt;BR /&gt;&amp;nbsp;eval timeval=strftime(now(),%d/%m/%Y) | where count==0] but still no result.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 09:11:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk/m-p/676024#M231252</guid>
      <dc:creator>Siddharthnegi</dc:creator>
      <dc:date>2024-01-31T09:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk/m-p/676028#M231254</link>
      <description>&lt;P&gt;Your time format string should be in double quotes&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| where false()
| appendpipe
    [stats count
    | where count=0
    | eval timeval=strftime(now(), "%d/%m/%Y")
    | where count = 0]&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 31 Jan 2024 09:26:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk/m-p/676028#M231254</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-31T09:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk/m-p/676029#M231255</link>
      <description>&lt;P&gt;sorry , I have put them in double inverted commas , still no results&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 09:30:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk/m-p/676029#M231255</guid>
      <dc:creator>Siddharthnegi</dc:creator>
      <dc:date>2024-01-31T09:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk/m-p/676030#M231256</link>
      <description>&lt;P&gt;If you run the code snippet I shared, you should see results i.e. it works. This seems to imply that there is something else going on in your search which is causing you to have no results. Please share your full search in a code block &amp;lt;/&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 09:51:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk/m-p/676030#M231256</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-31T09:51:13Z</dc:date>
    </item>
  </channel>
</rss>

