Skip to content

logs aggregation validation failed #428

@ben-wilson-mews

Description

@ben-wilson-mews

If you use the example dashboard in the provider with an aggregation, it will produce drift:

                                type  = "avg"
                                field = "meta.responseTime.numeric"

API returns:

                                observation_field = {
                                    keypath = ["meta", "responseTime"] # notice the missing `numeric` key?
                                    scope = "user_data"
                                }

If you replace field with this, it will produce the following error:

│ Error: logs aggregation validation failed
│ 
│   with coralogix_dashboard.atlas-testing,
│   on main.tf line 67, in resource "coralogix_dashboard" "redacted":
│   67: resource "coralogix_dashboard" "redacted" {
│ 
│ when type is `avg`, `field` must be set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions