Skip to content

Commit

Permalink
Fix redis.datatype typo in config file (elastic#2628)
Browse files Browse the repository at this point in the history
* In the config file, it was redis.datetype instead of datatype
* Improve documentation
  • Loading branch information
ruflin authored and dedemorton committed Oct 5, 2016
1 parent 912186b commit b55a0e2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion filebeat/filebeat.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ output.elasticsearch:
# The Redis data type to use for publishing events. If the data type is list,
# the Redis RPUSH command is used. If the data type is channel, the Redis
# PUBLISH command is used. The default value is list.
#datetype: list
#datatype: list

# The number of workers to use for each host configured to publish events to
# Redis. Use this setting along with the loadbalance option. For example, if
Expand Down
2 changes: 1 addition & 1 deletion libbeat/_meta/config.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ output.elasticsearch:
# The Redis data type to use for publishing events. If the data type is list,
# the Redis RPUSH command is used. If the data type is channel, the Redis
# PUBLISH command is used. The default value is list.
#datetype: list
#datatype: list

# The number of workers to use for each host configured to publish events to
# Redis. Use this setting along with the loadbalance option. For example, if
Expand Down
6 changes: 4 additions & 2 deletions libbeat/docs/outputconfig.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,10 @@ The Redis database number where the events are published. The default is 0.

===== datatype

The Redis data type to use for publishing events. If the data type is `list`, the
Redis RPUSH command is used. If the data type is `channel`, the Redis `PUBLISH` command is used.
The Redis data type to use for publishing events.If the data type is `list`, the
Redis RPUSH command is used and all events are added to the list with the key defined under `key`.
If the data type `channel` is used, the Redis `PUBLISH` command is used and means that all events
are pushed to the pub/sub mechanism of Redis. The name of the channel is the one defined under `key`.
The default value is `list`.

===== host_topology
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/metricbeat.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ output.elasticsearch:
# The Redis data type to use for publishing events. If the data type is list,
# the Redis RPUSH command is used. If the data type is channel, the Redis
# PUBLISH command is used. The default value is list.
#datetype: list
#datatype: list

# The number of workers to use for each host configured to publish events to
# Redis. Use this setting along with the loadbalance option. For example, if
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/packetbeat.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ output.elasticsearch:
# The Redis data type to use for publishing events. If the data type is list,
# the Redis RPUSH command is used. If the data type is channel, the Redis
# PUBLISH command is used. The default value is list.
#datetype: list
#datatype: list

# The number of workers to use for each host configured to publish events to
# Redis. Use this setting along with the loadbalance option. For example, if
Expand Down
2 changes: 1 addition & 1 deletion winlogbeat/winlogbeat.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ output.elasticsearch:
# The Redis data type to use for publishing events. If the data type is list,
# the Redis RPUSH command is used. If the data type is channel, the Redis
# PUBLISH command is used. The default value is list.
#datetype: list
#datatype: list

# The number of workers to use for each host configured to publish events to
# Redis. Use this setting along with the loadbalance option. For example, if
Expand Down

0 comments on commit b55a0e2

Please sign in to comment.