<?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 How to search for values greater than 10 in the results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-values-greater-than-10-in-the-results/m-p/581683#M202633</link>
    <description>&lt;P&gt;I am working on the query that generates a table with count of security violations. I want to filter our the users with violations greater than 10.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| rex field=_raw "(?&amp;lt;Message&amp;gt;Security\sviolation)\s\S+\s\S+\s(?&amp;lt;User&amp;gt;[A-Z0-9]+)"&lt;BR /&gt;| eval Time = strftime(_time, "%m-%d-%Y %H:%M:%S")&lt;BR /&gt;| rename JOBNAME as Jobname Time as Date&lt;BR /&gt;| eval Workload = substr(Jobname,1,3)&lt;BR /&gt;| stats count(Message) as "Security Violations" by Jobname User&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resulting table&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;User&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;Security Violations&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;ABC&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;DEF&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;GHI&lt;/TD&gt;&lt;TD height="24px"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="25px"&gt;JKL&lt;/TD&gt;&lt;TD height="25px"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="25px"&gt;XYZ`&lt;/TD&gt;&lt;TD height="25px"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jan 2022 15:32:19 GMT</pubDate>
    <dc:creator>chinmay25</dc:creator>
    <dc:date>2022-01-19T15:32:19Z</dc:date>
    <item>
      <title>How to search for values greater than 10 in the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-values-greater-than-10-in-the-results/m-p/581683#M202633</link>
      <description>&lt;P&gt;I am working on the query that generates a table with count of security violations. I want to filter our the users with violations greater than 10.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| rex field=_raw "(?&amp;lt;Message&amp;gt;Security\sviolation)\s\S+\s\S+\s(?&amp;lt;User&amp;gt;[A-Z0-9]+)"&lt;BR /&gt;| eval Time = strftime(_time, "%m-%d-%Y %H:%M:%S")&lt;BR /&gt;| rename JOBNAME as Jobname Time as Date&lt;BR /&gt;| eval Workload = substr(Jobname,1,3)&lt;BR /&gt;| stats count(Message) as "Security Violations" by Jobname User&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resulting table&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;User&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;Security Violations&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;ABC&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;DEF&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;GHI&lt;/TD&gt;&lt;TD height="24px"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="25px"&gt;JKL&lt;/TD&gt;&lt;TD height="25px"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="25px"&gt;XYZ`&lt;/TD&gt;&lt;TD height="25px"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 15:32:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-values-greater-than-10-in-the-results/m-p/581683#M202633</guid>
      <dc:creator>chinmay25</dc:creator>
      <dc:date>2022-01-19T15:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for values greater than 10 in the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-values-greater-than-10-in-the-results/m-p/581689#M202638</link>
      <description>&lt;LI-CODE lang="markup"&gt;| where 'Security Violations' &amp;gt; 10&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Jan 2022 15:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-values-greater-than-10-in-the-results/m-p/581689#M202638</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-19T15:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for values greater than 10 in the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-values-greater-than-10-in-the-results/m-p/581705#M202646</link>
      <description>In most cases use ” as values and ‘ as field names. Sometimes you need both on same time (see e.g. foreach + eval/fieldformat).</description>
      <pubDate>Wed, 19 Jan 2022 16:45:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-for-values-greater-than-10-in-the-results/m-p/581705#M202646</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-19T16:45:28Z</dc:date>
    </item>
  </channel>
</rss>

