datadog get-hosts-count
Returns the total number of active and up hosts in your Datadog account
Description
Returns the total number of active and up hosts in your Datadog account
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
from
- (time)
Number of seconds since UNIX epoch from which you want to get results
Example: --from "2019-10-12T07:20:50.52Z"
Default: _None_
Attributes: optional
Examples
Input:
Output:Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "read" |
Service Type | "datadog" |
Service Instance | |
Namespace | |
Object Type | "host" |
Object ID |
Please see Access Control for details.