Skip to content

Commit

Permalink
[Ingest Manager] Move to datastream instead of dataset (#20420) (#20481)
Browse files Browse the repository at this point in the history
[Ingest Manager] Move to datastream instead of dataset (#20420)
  • Loading branch information
michalpristas authored Aug 6, 2020
1 parent 6956dcf commit f65abed
Show file tree
Hide file tree
Showing 24 changed files with 273 additions and 273 deletions.
10 changes: 5 additions & 5 deletions x-pack/elastic-agent/_meta/config/common.p2.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
# Cannot include \, /, *, ?, ", <, >, |, ` ` (space character), ,, #
# Cannot start with -, _, +
# Cannot be . or ..
dataset.namespace: default
data_stream.namespace: default
use_output: default
streams:
- metricset: cpu
Expand All @@ -27,13 +27,13 @@ inputs:
# Cannot include \, /, *, ?, ", <, >, |, ` ` (space character), ,, #
# Cannot start with -, _, +
# Cannot be . or ..
dataset.name: system.cpu
data_stream.dataset: system.cpu
- metricset: memory
dataset.name: system.memory
data_stream.dataset: system.memory
- metricset: network
dataset.name: system.network
data_stream.dataset: system.network
- metricset: filesystem
dataset.name: system.filesystem
data_stream.dataset: system.filesystem

# agent.monitoring:
# # enabled turns on monitoring of running processes
Expand Down
10 changes: 5 additions & 5 deletions x-pack/elastic-agent/_meta/config/common.reference.p2.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
# Cannot include \, /, *, ?, ", <, >, |, ` ` (space character), ,, #
# Cannot start with -, _, +
# Cannot be . or ..
dataset.namespace: default
data_stream.namespace: default
use_output: default
streams:
- metricset: cpu
Expand All @@ -27,13 +27,13 @@ inputs:
# Cannot include \, /, *, ?, ", <, >, |, ` ` (space character), ,, #
# Cannot start with -, _, +
# Cannot be . or ..
dataset.name: system.cpu
data_stream.dataset: system.cpu
- metricset: memory
dataset.name: system.memory
data_stream.dataset: system.memory
- metricset: network
dataset.name: system.network
data_stream.dataset: system.network
- metricset: filesystem
dataset.name: system.filesystem
data_stream.dataset: system.filesystem

# management:
# # Mode of management, the Elastic Agent support two modes of operation:
Expand Down
10 changes: 5 additions & 5 deletions x-pack/elastic-agent/_meta/config/elastic-agent.docker.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
# Cannot include \, /, *, ?, ", <, >, |, ` ` (space character), ,, #
# Cannot start with -, _, +
# Cannot be . or ..
dataset.namespace: default
data_stream.namespace: default
use_output: default
streams:
- metricset: cpu
Expand All @@ -27,13 +27,13 @@ inputs:
# Cannot include \, /, *, ?, ", <, >, |, ` ` (space character), ,, #
# Cannot start with -, _, +
# Cannot be . or ..
dataset.name: system.cpu
data_stream.dataset: system.cpu
- metricset: memory
dataset.name: system.memory
data_stream.dataset: system.memory
- metricset: network
dataset.name: system.network
data_stream.dataset: system.network
- metricset: filesystem
dataset.name: system.filesystem
data_stream.dataset: system.filesystem

# management:
# # Mode of management, the Elastic Agent support two modes of operation:
Expand Down
10 changes: 5 additions & 5 deletions x-pack/elastic-agent/_meta/elastic-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
# Cannot include \, /, *, ?, ", <, >, |, ` ` (space character), ,, #
# Cannot start with -, _, +
# Cannot be . or ..
dataset.namespace: default
data_stream.namespace: default
use_output: default
streams:
- metricset: cpu
Expand All @@ -27,13 +27,13 @@ inputs:
# Cannot include \, /, *, ?, ", <, >, |, ` ` (space character), ,, #
# Cannot start with -, _, +
# Cannot be . or ..
dataset.name: system.cpu
data_stream.dataset: system.cpu
- metricset: memory
dataset.name: system.memory
data_stream.dataset: system.memory
- metricset: network
dataset.name: system.network
data_stream.dataset: system.network
- metricset: filesystem
dataset.name: system.filesystem
data_stream.dataset: system.filesystem

# management:
# # Mode of management, the Elastic Agent support two modes of operation:
Expand Down
10 changes: 5 additions & 5 deletions x-pack/elastic-agent/docs/elastic-agent-configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,17 @@ filesystem metrics, and sends them to the default output. For example:
-------------------------------------------------------------------------------------
inputs:
- type: system/metrics
dataset.namespace: default
data_stream.namespace: default
use_output: default
streams:
- metricset: cpu
dataset.name: system.cpu
data_stream.dataset: system.cpu
- metricset: memory
dataset.name: system.memory
data_stream.dataset: system.memory
- metricset: network
dataset.name: system.network
data_stream.dataset: system.network
- metricset: filesystem
dataset.name: system.filesystem
data_stream.dataset: system.filesystem
-------------------------------------------------------------------------------------

If `use_output` is not specified, the `default` output is used.
Expand Down
Loading

0 comments on commit f65abed

Please sign in to comment.