Skip to content

Commit

Permalink
Add Journald to the examples and default configuration (#6414)
Browse files Browse the repository at this point in the history
  • Loading branch information
belimawr authored Dec 30, 2024
1 parent 7980b91 commit c1d060e
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _meta/config/common.p2.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ inputs:
# paths:
# - /var/log/*.log

# # Collecting journald logs, including coredumps.
# - type: journald
# # Input ID allowing Elastic Agent to track the state of this input. Must be unique.
# id: your-journald-input-id
# streams:
# # Stream ID for this data stream allowing Filebeat to track the state of the ingested data. Must be unique.
# # Each journald data stream creates a separate instance of the Filebeat journald input.
# - id: your-journald-stream-id
# data_stream:
# dataset: generic

# agent.monitoring:
# # enabled turns on monitoring of running processes
Expand Down
11 changes: 11 additions & 0 deletions _meta/config/common.reference.p2.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ inputs:
# paths:
# - /var/log/*.log

# # Collecting journald logs, including coredumps.
# - type: journald
# # Input ID allowing Elastic Agent to track the state of this input. Must be unique.
# id: your-journald-input-id
# streams:
# # Stream ID for this data stream allowing Filebeat to track the state of the ingested data. Must be unique.
# # Each journald data stream creates a separate instance of the Filebeat journald input.
# - id: your-journald-stream-id
# data_stream:
# dataset: generic

# management:
# # Mode of management, the Elastic Agent support two modes of operation:
# #
Expand Down
11 changes: 11 additions & 0 deletions elastic-agent.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ inputs:
# paths:
# - /var/log/*.log

# # Collecting journald logs, including coredumps.
# - type: journald
# # Input ID allowing Elastic Agent to track the state of this input. Must be unique.
# id: your-journald-input-id
# streams:
# # Stream ID for this data stream allowing Filebeat to track the state of the ingested data. Must be unique.
# # Each journald data stream creates a separate instance of the Filebeat journald input.
# - id: your-journald-stream-id
# data_stream:
# dataset: generic

# management:
# # Mode of management, the Elastic Agent support two modes of operation:
# #
Expand Down
10 changes: 10 additions & 0 deletions elastic-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ inputs:
# paths:
# - /var/log/*.log

# # Collecting journald logs, including coredumps.
# - type: journald
# # Input ID allowing Elastic Agent to track the state of this input. Must be unique.
# id: your-journald-input-id
# streams:
# # Stream ID for this data stream allowing Filebeat to track the state of the ingested data. Must be unique.
# # Each journald data stream creates a separate instance of the Filebeat journald input.
# - id: your-journald-stream-id
# data_stream:
# dataset: generic

# agent.monitoring:
# # enabled turns on monitoring of running processes
Expand Down

0 comments on commit c1d060e

Please sign in to comment.