Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 35. fact
Search facts
Usage
hammer fact [OPTIONS] SUBCOMMAND [ARG] ...
# hammer fact [OPTIONS] SUBCOMMAND [ARG] ...
Options
-
-h,--help– Print help
35.1. fact list Link kopierenLink in die Zwischenablage kopiert!
List all fact values
Usage
hammer fact <list|index> [OPTIONS]
# hammer fact <list|index> [OPTIONS]
Options
-
--fields LIST– Show specified fields or predefined field sets only. (See below) -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--order VALUE– Sort and order by a searchable field, e.g.<field> DESC -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-title VALUE– Set the current organization context for the request -
--page NUMBER– Page number, starting at 1 -
--per-page VALUE– Number of results per page to return,allto return all results -
--search VALUE– Filter results -
-h,--help– Print help
Predefined field sets
| FIELDS | ALL | DEFAULT |
|---|---|---|
| Host | x | x |
| Fact | x | x |
| Value | x | x |
Search and order fields
-
fact– string -
fact_short_name– string -
facts– string -
host– string -
host.hostgroup– string -
host_id– integer -
location– string -
location_id– integer -
name– string -
organization– string -
organization_id– integer -
origin– string -
reported_at– datetime -
short_name– string -
type– string -
value– string