Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 5f57a21

Browse files
authored
Merge pull request #46 from humio/mike/collect-all-humio-log-files
Collect all Humio log files
2 parents a946e5e + 2478af8 commit 5f57a21

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

templates/filebeat.yml.j2

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
{% for item in range(0, humio_processes|int)|list -%}
44
- type: log
55
paths:
6+
- /var/log/humio/{{ item }}/humio-activity.log
7+
- /var/log/humio/{{ item }}/humio-audit.log
68
- /var/log/humio/{{ item }}/humio-debug.log
7-
- /var/log/humio/{{ item }}/humio-threaddumps.log
89
- /var/log/humio/{{ item }}/humio-metrics.log
9-
- /var/log/humio/{{ item }}/humio-activity.log
10+
- /var/log/humio/{{ item }}/humio-non-sensitive.log
11+
- /var/log/humio/{{ item }}/humio-requests.log
12+
- /var/log/humio/{{ item }}/humio-threaddumps.log
1013
fields:
1114
'@type': 'humio'
1215
'@humionode': "{{ "%d%02d" | format(humio_host_id|int, item) }}"
@@ -28,4 +31,4 @@
2831
'{{ field.key }}': '{{ field.value }}'
2932
{% endfor -%}
3033
'@tags': ['{{ (humio_filebeat_default_tags + humio_filebeat_tags) | list | join ('\', \'') }}']
31-
{% endfor %}
34+
{% endfor %}

0 commit comments

Comments
 (0)