<?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 Error message: domain needs 'min' and 'max' fields in Security</title>
    <link>https://community.splunk.com/t5/Security/Error-message-domain-needs-min-and-max-fields/m-p/369758#M12863</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I have run the following search ( Endpoint - Malware Daily Count - Context Gen) verified from a couple of different sources, and get the above mentioned error message....any advice?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats `summariesonly` dc(Malware_Attacks.signature) as infection_count from datamodel=Malware.Malware_Attacks 
where earliest=-31d@d latest=-1d@d Malware_Attacks.action=allowed by Malware_Attacks.dest,_time 
span=1d | stats sum(infection_count) as total_infection_count by _time 
| stats count,median(total_infection_count) as median by _time 
| eval min=0 | eval max=median*2 | xsCreateDDContext name=count_1d container=malware type=domain 
terms="minimal,small,medium,large,extreme" scope=app app=SA-NetworkProtection | stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 29 Sep 2017 15:46:02 GMT</pubDate>
    <dc:creator>frizzoS3</dc:creator>
    <dc:date>2017-09-29T15:46:02Z</dc:date>
    <item>
      <title>Error message: domain needs 'min' and 'max' fields</title>
      <link>https://community.splunk.com/t5/Security/Error-message-domain-needs-min-and-max-fields/m-p/369758#M12863</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I have run the following search ( Endpoint - Malware Daily Count - Context Gen) verified from a couple of different sources, and get the above mentioned error message....any advice?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats `summariesonly` dc(Malware_Attacks.signature) as infection_count from datamodel=Malware.Malware_Attacks 
where earliest=-31d@d latest=-1d@d Malware_Attacks.action=allowed by Malware_Attacks.dest,_time 
span=1d | stats sum(infection_count) as total_infection_count by _time 
| stats count,median(total_infection_count) as median by _time 
| eval min=0 | eval max=median*2 | xsCreateDDContext name=count_1d container=malware type=domain 
terms="minimal,small,medium,large,extreme" scope=app app=SA-NetworkProtection | stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Sep 2017 15:46:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-message-domain-needs-min-and-max-fields/m-p/369758#M12863</guid>
      <dc:creator>frizzoS3</dc:creator>
      <dc:date>2017-09-29T15:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error message: domain needs 'min' and 'max' fields</title>
      <link>https://community.splunk.com/t5/Security/Error-message-domain-needs-min-and-max-fields/m-p/369759#M12864</link>
      <description>&lt;P&gt;I imagine you are not getting any results from the base search. so there are no "events" going into the chained stats, so the evals have nothing to add to. Thus you have empty results going tiny the CreateDD command.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 16:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-message-domain-needs-min-and-max-fields/m-p/369759#M12864</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2017-09-29T16:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error message: domain needs 'min' and 'max' fields</title>
      <link>https://community.splunk.com/t5/Security/Error-message-domain-needs-min-and-max-fields/m-p/369760#M12865</link>
      <description>&lt;P&gt;@frizzoS3 - This answer by @starcher seems correct.  To test that, run this and see if there are any results...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats `summariesonly` dc(Malware_Attacks.signature) as infection_count 
    from datamodel=Malware.Malware_Attacks 
    where earliest=-31d@d latest=-1d@d Malware_Attacks.action=allowed 
    by Malware_Attacks.dest,_time  span=1d 
| head 5
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:24:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-message-domain-needs-min-and-max-fields/m-p/369760#M12865</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-09-29T17:24:28Z</dc:date>
    </item>
  </channel>
</rss>

