<?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 OR contition simulation between two search query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/OR-contition-simulation-between-two-search-query/m-p/520590#M146571</link>
    <description>&lt;P&gt;since one of the username need to be simulate with regex query . I am forced to use &lt;STRONG&gt;regex&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;how can I do it so that I simulate kind of OR condition between main and sub search query&lt;/P&gt;&lt;DIV&gt;index=main&lt;BR /&gt;suser IN("abc","def")&lt;/DIV&gt;&lt;DIV&gt;| search&amp;nbsp; regex suser =”DEF[0-9]"&lt;/DIV&gt;&lt;DIV&gt;AND EventID IN("323","322")&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Mon, 21 Sep 2020 11:37:09 GMT</pubDate>
    <dc:creator>karakutu</dc:creator>
    <dc:date>2020-09-21T11:37:09Z</dc:date>
    <item>
      <title>OR contition simulation between two search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/OR-contition-simulation-between-two-search-query/m-p/520590#M146571</link>
      <description>&lt;P&gt;since one of the username need to be simulate with regex query . I am forced to use &lt;STRONG&gt;regex&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;how can I do it so that I simulate kind of OR condition between main and sub search query&lt;/P&gt;&lt;DIV&gt;index=main&lt;BR /&gt;suser IN("abc","def")&lt;/DIV&gt;&lt;DIV&gt;| search&amp;nbsp; regex suser =”DEF[0-9]"&lt;/DIV&gt;&lt;DIV&gt;AND EventID IN("323","322")&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Sep 2020 11:37:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/OR-contition-simulation-between-two-search-query/m-p/520590#M146571</guid>
      <dc:creator>karakutu</dc:creator>
      <dc:date>2020-09-21T11:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: OR contition simulation between two search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/OR-contition-simulation-between-two-search-query/m-p/520593#M146572</link>
      <description>&lt;P&gt;index=main suser IN("abc","def") [search regex suser =”DEF[0-9]" AND EventID IN("323","322") | fields suser] | table suser field1 field2&lt;/P&gt;&lt;P&gt;i am little confused about this OR requirement and i am little confused on the regex inside subsearch as well. maybe if you give us some sample logs, the subsearch may not be needed altogether. h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(i received 100 karma points giver badge, have you?!?!)&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 11:51:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/OR-contition-simulation-between-two-search-query/m-p/520593#M146572</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-09-21T11:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: OR contition simulation between two search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/OR-contition-simulation-between-two-search-query/m-p/520596#M146573</link>
      <description>&lt;P&gt;thanks for your support. sample log I can not give.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the problem is I have a special username which need to be simulate with regex.&lt;/P&gt;&lt;P&gt;since I can not user regex into IN function.&amp;nbsp; &amp;nbsp;so I just want to simulate it separately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe I use unnecessary function. maybe we can do it much easier. I am not sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 12:08:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/OR-contition-simulation-between-two-search-query/m-p/520596#M146573</guid>
      <dc:creator>karakutu</dc:creator>
      <dc:date>2020-09-21T12:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: OR contition simulation between two search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/OR-contition-simulation-between-two-search-query/m-p/520597#M146574</link>
      <description>&lt;P&gt;no need to write us the full logs. you can hide/edit the hostnames/confidential info in the logs and update us the sample log.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 12:11:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/OR-contition-simulation-between-two-search-query/m-p/520597#M146574</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-09-21T12:11:02Z</dc:date>
    </item>
  </channel>
</rss>

