Hi Team, Can you please help me with the following...
# community-support
n
Hi Team, Can you please help me with the following question? In the test below, the WHERE clause is filtering the last 90 days of data, and the training period is also set to 90 days. I'm trying to understand the difference between the two. As I understand it, the training period defines the timeframe for collecting data, while the WHERE clause filters for data from the last 90 days. Is there any significant effect if I remove this filter in the WHERE clause, given that my WHERE filter and training period are both 90 days? Could this lead to any performance issues?
Copy code
- elementary.volume_anomalies:
          where_expression: "payment_type = 'ios' and date(issue_date) >= DATE_SUB(CURRENT_DATE(), INTERVAL 90 DAY)"
          anomaly_sensitivity: 3
          detection_period:
            period: day
            count: 15
          training_period:
            period: day
            count: 90
          time_bucket:
            period: day
            count: 1
          config:
              severity: warn