<?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: Blind mask with eval in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Blind-mask-with-eval/m-p/557399#M158309</link>
    <description>&lt;P&gt;There are a number of ways to do this, here is one&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="xx" OR index=main host="xxx" "booking failed" source="/opt/ipath/log/main.log" NOT update NOT Details  
| rex field=bookname "(?&amp;lt;Reason&amp;gt;Booking failed with 1 source conflict and 1 destination conflict)"
| stats  count by Reason&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 28 Jun 2021 10:46:31 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-06-28T10:46:31Z</dc:date>
    <item>
      <title>Blind mask with eval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Blind-mask-with-eval/m-p/557395#M158306</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to count how many times "Booking failed with 1 source conflict and 1 destination conflict" message occurs in the log.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="xx" OR index=main host="xxx" "booking failed" source="/opt/ipath/log/main.log" NOT update NOT Details  
 | eval Reason = case( bookname="failed with 1 source conflict and 1 destination conflict\"", "Booking failed with 1 source conflict and 1 destination conflict" )
| stats  count by Reason&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;old logline:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"2021-05-11 13:59:39,615 backend_7.20.47: INFO services/PathManagerService(backend): Booking failed with 1 source conflict and 1 destination conflict"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;new logline:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;"2021-06-27 14:24:33,513 backend_8.20.26: INFO vip.service.PathManagerService Booking failed with 1 source conflict and 1 destination conflict [1930711-4]"&lt;/PRE&gt;&lt;P&gt;After the system upgrade, I don't know how to ignore&amp;nbsp;[1930711-4] part.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 10:21:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Blind-mask-with-eval/m-p/557395#M158306</guid>
      <dc:creator>dabroma5</dc:creator>
      <dc:date>2021-06-28T10:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Blind mask with eval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Blind-mask-with-eval/m-p/557398#M158308</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213879"&gt;@dabroma5&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try this for your both logs?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="xx" OR index=main host="xxx" "booking failed" source="/opt/ipath/log/main.log" NOT update NOT Details  
 | eval Reason = case( like(bookname,"failed with 1 source conflict and 1 destination conflict%\""), "Booking failed with 1 source conflict and 1 destination conflict")
| stats  count by Reason&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 10:41:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Blind-mask-with-eval/m-p/557398#M158308</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-06-28T10:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Blind mask with eval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Blind-mask-with-eval/m-p/557399#M158309</link>
      <description>&lt;P&gt;There are a number of ways to do this, here is one&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="xx" OR index=main host="xxx" "booking failed" source="/opt/ipath/log/main.log" NOT update NOT Details  
| rex field=bookname "(?&amp;lt;Reason&amp;gt;Booking failed with 1 source conflict and 1 destination conflict)"
| stats  count by Reason&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 28 Jun 2021 10:46:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Blind-mask-with-eval/m-p/557399#M158309</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-28T10:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Blind mask with eval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Blind-mask-with-eval/m-p/557411#M158315</link>
      <description>&lt;P&gt;Thanks, this one suits me best.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 11:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Blind-mask-with-eval/m-p/557411#M158315</guid>
      <dc:creator>dabroma5</dc:creator>
      <dc:date>2021-06-28T11:29:17Z</dc:date>
    </item>
  </channel>
</rss>

