<?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 under same field value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-under-same-field-value/m-p/542084#M153544</link>
    <description>&lt;P&gt;Appreciate!&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2021 07:30:48 GMT</pubDate>
    <dc:creator>enpingtu</dc:creator>
    <dc:date>2021-03-03T07:30:48Z</dc:date>
    <item>
      <title>Search under same field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-under-same-field-value/m-p/542079#M153540</link>
      <description>&lt;P&gt;We have below log event rows -&amp;nbsp;&lt;/P&gt;&lt;P&gt;correlationKey=abc msg="create cache for 123"&lt;BR /&gt;correlationKey=abc "read cache for 123"&lt;BR /&gt;correlationKey=mno "create cache for 456"&lt;BR /&gt;correlationKey=mno "read cache for 456"&lt;BR /&gt;correlationKey=xyz "read cache for 123"&lt;/P&gt;&lt;P&gt;From the data, we may notice that correlationKey abc/mno have both create/read. But for&amp;nbsp;correlationKey xyz, it does not have "create cache" log, but "read cache" only.&lt;/P&gt;&lt;P&gt;We need to find all&amp;nbsp;correlationKey values w/o log entry "create cache for". (abc/mno do not qualify. Only xyz qualify.)&lt;/P&gt;&lt;P&gt;Appreciate your great help!&lt;/P&gt;&lt;P&gt;- ET&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 06:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-under-same-field-value/m-p/542079#M153540</guid>
      <dc:creator>enpingtu</dc:creator>
      <dc:date>2021-03-03T06:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Search under same field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-under-same-field-value/m-p/542081#M153541</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/191790"&gt;@enpingtu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You could try something like this:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your_search
| eval qualify=case(searchmatch("create cache for"),"Create", searchmatch("read cache for"),"Read"
| stats dc(qualify) AS dc_qualify values(qualify) AS qualify BY correlationKey
| eval status=if(dc_qualify=2,"Qualify","Do not Qualify")
| table correlationKey status&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 07:21:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-under-same-field-value/m-p/542081#M153541</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-03-03T07:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Search under same field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-under-same-field-value/m-p/542084#M153544</link>
      <description>&lt;P&gt;Appreciate!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 07:30:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-under-same-field-value/m-p/542084#M153544</guid>
      <dc:creator>enpingtu</dc:creator>
      <dc:date>2021-03-03T07:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search under same field value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-under-same-field-value/m-p/542085#M153545</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval created=if(match(msg,"create cache"),"true",null)
| stats values(created) as created by correlationKey
| where NOT created="true"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 03 Mar 2021 07:33:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-under-same-field-value/m-p/542085#M153545</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-03T07:33:52Z</dc:date>
    </item>
  </channel>
</rss>

