You have an error in your file "splunkalerts_rules.yml", but you haven't shown it. The message even tells you exactly what line the error is in.
It looks to me though like you're trying to put a Kubernetes resource definition file in place of a Prometheus rules file. Both are YAML, but they have different structures. The YAML format that Prometheus expects is documented here: https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/ (including an example of what a valid file would look like) On Tuesday, 28 November 2023 at 15:21:33 UTC Satish Parimi wrote: > FAILED: > > splunkalerts_rules.yml: yaml: unmarshal errors: > > line 1: field apiVersion not found in type rulefmt.RuleGroups > > line 2: field kind not found in type rulefmt.RuleGroups > > line 3: field metadata not found in type rulefmt.RuleGroups > > line 8: field spec not found in type rulefmt.RuleGroups > > > prometheus. version: 2.41.0 > > > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/09a2e0ad-0d8e-4f76-8171-e26f37c0fe0fn%40googlegroups.com.

