Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonSludge authored Nov 11, 2020
1 parent 686a32d commit 9ac31f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ These will produce the following Ansible inventory tree:
### Export mode

`ansible-dns-inventory` can also export the inventory as a list of hosts and groups they belong to. This can be used to map host names to group names in some third-party software.
An example of this use case would be using this output as a dictionary in a [Logstash translate filter](https://www.elastic.co/guide/en/logstash/current/plugins-filters-translate.html#plugins-filters-translate-dictionary_path) to populate a `groups` field during log processing to be able to filter events coming from a specific groups of hosts.
An example of this use case would be using this output as a dictionary in a [Logstash translate filter](https://www.elastic.co/guide/en/logstash/current/plugins-filters-translate.html#plugins-filters-translate-dictionary_path) to populate a `groups` field during log processing to be able to filter events coming from a specific group of hosts.

`ansible-dns-inventory` currently supports three export formats: JSON, YAML with groups as a YAML list and YAML with groups as a CSV string. A format can be selected by the `-format` flag: it accepts `json`, `yaml-list` or `yaml-csv` as its value. The default is `yaml-csv`.

0 comments on commit 9ac31f5

Please sign in to comment.