<?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: if statement search help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-would-I-write-the-following-if-statements-in-Splunk/m-p/599280#M208629</link>
    <description>&lt;LI-CODE lang="markup"&gt;| stats latest(_time) as _time latest(access) as access
| where access="start_access" AND now()-_time &amp;gt; (20*24*60*60)
| eval result="not active"&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 25 May 2022 12:31:54 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-05-25T12:31:54Z</dc:date>
    <item>
      <title>How would I write the following if statements in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-would-I-write-the-following-if-statements-in-Splunk/m-p/599273#M208626</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How would I write the following statements in Splunk?&lt;BR /&gt;Variables are start_access and last_access&lt;BR /&gt;&lt;BR /&gt;Statement&lt;BR /&gt;If 20 days have passed from the start_access AND there was no last_access since the last start_access, then the result is not active.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 15:34:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-would-I-write-the-following-if-statements-in-Splunk/m-p/599273#M208626</guid>
      <dc:creator>troy44112</dc:creator>
      <dc:date>2022-05-25T15:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: if statement search help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-would-I-write-the-following-if-statements-in-Splunk/m-p/599280#M208629</link>
      <description>&lt;LI-CODE lang="markup"&gt;| stats latest(_time) as _time latest(access) as access
| where access="start_access" AND now()-_time &amp;gt; (20*24*60*60)
| eval result="not active"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 May 2022 12:31:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-would-I-write-the-following-if-statements-in-Splunk/m-p/599280#M208629</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-25T12:31:54Z</dc:date>
    </item>
  </channel>
</rss>

