<?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: OR function in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/OR-function/m-p/671730#M230158</link>
    <description>&lt;P&gt;Thanks, I just tried:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| where last_backup_t &amp;lt; relative_time(now(), "-1d@d-4h") or is_offline="true"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;So i didn´t need the "search", sometimes the resolution is easier than you think... &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 15:15:48 GMT</pubDate>
    <dc:creator>Lennard</dc:creator>
    <dc:date>2023-12-13T15:15:48Z</dc:date>
    <item>
      <title>OR function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/OR-function/m-p/671722#M230155</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started today with Splunk and have one question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to use an or function that if the second "or" the third row is active I got the trigger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas how to do it?&lt;BR /&gt;&lt;BR /&gt;| eval last_backup_t =strptime(last_backup, "%Y-%m-%d %H:%M:%S.%N%z")&lt;/P&gt;&lt;P&gt;| where last_backup_t &amp;lt; relative_time(now(), "-2d@d")&lt;/P&gt;&lt;P&gt;| search is_offline= true&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 13:19:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/OR-function/m-p/671722#M230155</guid>
      <dc:creator>Lennard</dc:creator>
      <dc:date>2023-12-13T13:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: OR function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/OR-function/m-p/671724#M230157</link>
      <description>&lt;P&gt;OR is usually placed between predicates in a logical evaluation, e.g. as part of a where command.&lt;/P&gt;&lt;P&gt;Splunk works on a pipeline of events and you can't compare between events (without bringing them together in a correlated event).&lt;/P&gt;&lt;P&gt;Alerts can be triggered based on expressions, for example, number of events left in the pipeline, so perhaps you need to fashion a search which returns the events you are interested in and trigger on the presence of these events?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 13:28:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/OR-function/m-p/671724#M230157</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-12-13T13:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: OR function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/OR-function/m-p/671730#M230158</link>
      <description>&lt;P&gt;Thanks, I just tried:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| where last_backup_t &amp;lt; relative_time(now(), "-1d@d-4h") or is_offline="true"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;So i didn´t need the "search", sometimes the resolution is easier than you think... &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 15:15:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/OR-function/m-p/671730#M230158</guid>
      <dc:creator>Lennard</dc:creator>
      <dc:date>2023-12-13T15:15:48Z</dc:date>
    </item>
  </channel>
</rss>

