Use this data source to retrieve information about your live hosts in Datadog.
data "datadog_hosts" "foo" {
include_muted_hosts_data = true
include_hosts_metadata = true
}
filter
(String) String to filter search results.from
(Number) Number of seconds since UNIX epoch from which you want to search your hosts.include_muted_hosts_data
(Boolean) Include information on the muted status of hosts and when the mute expires.sort_dir
(String) Direction of sort.sort_field
(String) Sort hosts by this field.host_list
(List of Object) List of hosts (1000 Max). (see below for nested schema)id
(String) The ID of this resource.total_matching
(Number) Number of host matching the query.total_returned
(Number) Number of host returned.host_list
Read-Only:
aliases
(List of String)apps
(List of String)aws_name
(String)host_name
(String)id
(Number)is_muted
(Boolean)last_reported_time
(Number)meta
(Object) (see below for nested schema)metrics
(Object) (see below for nested schema)mute_timeout
(Number)name
(String)sources
(List of String)up
(Boolean)host_list.meta
Read-Only:
agent_version
(String)cpu_cores
(Number)gohai
(String)machine
(String)platform
(String)processor
(String)python_version
(String)socket_fqdn
(String)socket_hostname
(String)host_list.metrics
Read-Only:
cpu
(Number)iowait
(Number)load
(Number)