» logicmonitor_collectors

Use this datasource to get the ID of an available collector.

» Example Usage

# Look up a LogicMonitor collector id
data "logicmonitor_collectors" "collectors" {
  filters {
    property = "hostname"
    operator = "~"
    value = "test"
  },
"most_recent" = true
}

» Argument Reference

The following arguments are supported:

» Nested filters blocks

Nested filters blocks have the following structure: property{operator}value * property - (Required if using filters) The name of filtered property. Currently the properties supported are hostname and description * operator - (Required if using filters) The type of operator. Currently the operators supported are : ~ !: !~ * value - (Required if using filters) The value of the filtered property.