Custom rules parameter

Hello,

I have some data i collected and visualizing in Kibana.Now I have defined a ML job to monitor high/low filerate but I want the ML analysis to stop outside the range the data is collected(eg: 7 to 9pm data are not collected everyday). What I want to know is can I use “time“ as value to the parameter applies_to like

"custom_rules": [
      {
        "actions": ["skip_result", "skip_model_update"],
        "conditions": [
          {
            "applies_to": "time",
            "operator": "lt",
            "value": 7
          },
          {
            "applies_to": "time",
            "operator": "gte",
            "value": 12
          }
        ]
      }
    ]

I have a doubt and I would like to know if it’s correct or how I exclude this range for the model.

Thanks.

Hello @Le_Philosophe

As per the documentation it should work :

Thanks!!

Okay,

Can I have multiple scope associated with their conditions and actions like i use a filter to target a feed type and for each feed if they are not in their range the result is not compute for those splits models (I use feed_id as split field when creating my job)

I’d filter out the data using a filter in the datafeed itself (such that none of the data is even sent to the ML algorithms)

Other option is to use Calendar Events

Like having multiple jobs for each feed?

for the the “time“ value for “applies_to” variable it’s the time the bucket start or else?