<?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: Search Query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533424#M150722</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207926"&gt;@anandhalagaras1&lt;/a&gt;, can you try below?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=abc host=xyz ORA-* NOT ORA-609 NOT ORA-3136 NOT ORA-12008 NOT ORA-0&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 17 Dec 2020 09:27:52 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2020-12-17T09:27:52Z</dc:date>
    <item>
      <title>Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533339#M150695</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have a logfile in which I have few keywords such as ORA-1 , ORA-212, ORA-609 and similarly we have more than 100&amp;nbsp; information related to ORA- value with it.&lt;/P&gt;&lt;P&gt;So during the search&amp;nbsp; we want to exclude the below mentioned ORA details&amp;nbsp;&lt;/P&gt;&lt;P&gt;ORA-609&lt;BR /&gt;ORA-3136&lt;BR /&gt;ORA-12008&lt;BR /&gt;ORA-0&lt;/P&gt;&lt;P&gt;And the other ORA- stuffs needs to be displayed&amp;nbsp; while searching the logs so that we can create Alerting and schedule the same.&lt;/P&gt;&lt;P&gt;i.e. If other than ( ORA-609 , ORA-3136, ORA-12008, ORA-0) and the remaining ORA- should&amp;nbsp; be displayed as events so I can able to create the alerting for the same.&lt;/P&gt;&lt;P&gt;index=abc&lt;/P&gt;&lt;P&gt;sourcetype=def&amp;nbsp;&lt;/P&gt;&lt;P&gt;host=xxx&lt;/P&gt;&lt;P&gt;So kindly help with the query.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 14:50:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533339#M150695</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2020-12-16T14:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533346#M150696</link>
      <description>&lt;LI-CODE lang="markup"&gt;| regex _raw!="(ORA\-609|ORA\-3136|ORA\-12008|ORA\-0).*"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 16 Dec 2020 17:39:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533346#M150696</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-12-16T17:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533417#M150716</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;With this query I can able to filter out&amp;nbsp;&amp;nbsp;ORA-609, ORA-3136, ORA-12008, ORA-0 from the logs which is fine. But in the same query I want to see only the logs which contains ORA-* in the event since there are other type of events as well present in the log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For better understanding , I want to see all the ORA-* logs when i search excluding the&amp;nbsp; ORA-609, ORA-3136, ORA-12008, ORA-0&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So kindly help with the query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 08:45:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533417#M150716</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2020-12-17T08:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533420#M150719</link>
      <description>&lt;LI-CODE lang="markup"&gt;| regex _raw!="(ORA\-609|ORA\-3136|ORA\-12008|ORA\-0).*"
| regex _raw="ORA\-.*"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 17 Dec 2020 08:59:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533420#M150719</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-12-17T08:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533421#M150720</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your swift response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But still I can see few of the ORA-* is not captured when I use the query.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;index=abc&amp;nbsp; host="xyz" | regex _raw!="(ORA\-609|ORA\-3136|ORA\-12008|ORA\-0).*" | regex _raw="ORA\-.*"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see there are events related for ORA-00020 on today as well as yesterday but when i ran the query it is not showing up this ORA-00020 eventhough it is not in the exclusion list. Similarly we have like this more ORA- things which is not showing up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So kindly help.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:11:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533421#M150720</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2020-12-17T09:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533422#M150721</link>
      <description>&lt;P&gt;This is because you haven't been specific enough or given examples of logs from which to work from!&lt;/P&gt;&lt;P&gt;What follows these codes? Is it always a space or a colon or a closing bracket or a non-digit? Basically, the regex needs something to indicate that the code is complete.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:24:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533422#M150721</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-12-17T09:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533424#M150722</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207926"&gt;@anandhalagaras1&lt;/a&gt;, can you try below?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=abc host=xyz ORA-* NOT ORA-609 NOT ORA-3136 NOT ORA-12008 NOT ORA-0&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:27:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533424#M150722</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2020-12-17T09:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533431#M150724</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. It worked as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 11:57:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query/m-p/533431#M150724</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2020-12-17T11:57:50Z</dc:date>
    </item>
  </channel>
</rss>

