Compare commits
No commits in common. "e1071bc98f0c0079f379d4e0d916e3f2a6fc86e2" and "5c6ad53062f940b333ccf2c465752a72e441f292" have entirely different histories.
e1071bc98f
...
5c6ad53062
|
@ -34,7 +34,6 @@ filebeat_logs:
|
||||||
index_prefix: "mgr"
|
index_prefix: "mgr"
|
||||||
template_name: "mgr-cp"
|
template_name: "mgr-cp"
|
||||||
template_pattern: "mgr-*"
|
template_pattern: "mgr-*"
|
||||||
multiline: true
|
|
||||||
sublog: cp
|
sublog: cp
|
||||||
filebeat_older_dir: "/data/opt/filebeat/{{ instance_name }}"
|
filebeat_older_dir: "/data/opt/filebeat/{{ instance_name }}"
|
||||||
filebeat_older_data_dir: data2
|
filebeat_older_data_dir: data2
|
||||||
|
|
|
@ -10,13 +10,6 @@ filebeat.inputs:
|
||||||
{% if "exclude_files" in logs[log_type] -%}
|
{% if "exclude_files" in logs[log_type] -%}
|
||||||
exclude_files: {{ logs[log_type]['exclude_files'] }}
|
exclude_files: {{ logs[log_type]['exclude_files'] }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% if logs[log_type]['multiline'] -%}
|
|
||||||
multiline.type: pattern
|
|
||||||
multiline.pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}'
|
|
||||||
multiline.negate: true
|
|
||||||
multiline.match: after
|
|
||||||
multiline.skip_newline: true
|
|
||||||
{% endif -%}
|
|
||||||
harvester_buffer_size: 2048
|
harvester_buffer_size: 2048
|
||||||
ignore_older: {{ filebeat_older }}
|
ignore_older: {{ filebeat_older }}
|
||||||
tail_files: {{ filebeat_tail_files | string | lower }}
|
tail_files: {{ filebeat_tail_files | string | lower }}
|
||||||
|
|
Loading…
Reference in New Issue