Closed frantz45 closed 2 weeks ago
I don't reproduce this problem. I try with this file :
2024-06-26_093707_alert_rules.json
Import works with versions 4.3.0, 4.3.1, 4.5.0 and 5.2.0.
Seems to be fix in this commit
There is no bug in this issue, I just want a warning log when there are multiple distinct_fields because only the first one is kept.
OK. I added a user notification on the import page when this case appears.
I confirm it's fixed in v5.2.1
From v4.3.0 it's not supported to import a rule with multiple distinct_fields, only the first one is kept. A warning log should be generated when it happens. For example: WARN The rule "rule_title" has multiple distinct_fields, only the first one will be kept ("field_name")