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.

© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/logicmonitor/d/collectors.html