Skip to content

Commit ab8722a

Browse files
committed
tests: integration: add Manticore output coverage
Signed-off-by: Stas <tomat1979@gmail.com>
1 parent 991d7c3 commit ab8722a

8 files changed

Lines changed: 1032 additions & 0 deletions
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
service:
2+
flush: 0.2
3+
log_level: info
4+
http_server: on
5+
http_port: ${FLUENT_BIT_HTTP_MONITORING_PORT}
6+
7+
pipeline:
8+
inputs:
9+
- name: dummy
10+
tag: manticore_permanent
11+
dummy: '{"id":44,"message":"permanent-item"}'
12+
samples: 1
13+
14+
outputs:
15+
- name: manticore
16+
match: '*'
17+
host: 127.0.0.1
18+
port: ${MANTICORE_PORT}
19+
table: wire_logs
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
service:
2+
flush: 0.2
3+
grace: 3
4+
log_level: info
5+
http_server: on
6+
http_port: ${FLUENT_BIT_HTTP_MONITORING_PORT}
7+
parsers_file: ${MANTICORE_PARSERS_FILE}
8+
9+
pipeline:
10+
inputs:
11+
- name: tail
12+
tag: manticore_recovery
13+
path: ${MANTICORE_INPUT_PATH}
14+
read_from_head: true
15+
exit_on_eof: ${MANTICORE_EXIT_ON_EOF}
16+
parser: recovery_json
17+
18+
outputs:
19+
- name: manticore
20+
match: '*'
21+
host: 127.0.0.1
22+
port: ${MANTICORE_PORT}
23+
table: ${MANTICORE_TABLE}
24+
workers: 1
25+
single_chunk: true
26+
spool_path: ${MANTICORE_SPOOL_PATH}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
service:
2+
flush: 0.2
3+
log_level: info
4+
http_server: on
5+
http_port: ${FLUENT_BIT_HTTP_MONITORING_PORT}
6+
7+
pipeline:
8+
inputs:
9+
- name: dummy
10+
tag: manticore_retry
11+
dummy: '{"id":"43","message":"retry-item"}'
12+
samples: 1
13+
14+
outputs:
15+
- name: manticore
16+
match: '*'
17+
host: 127.0.0.1
18+
port: ${MANTICORE_PORT}
19+
table: wire_logs
20+
action: create
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
service:
2+
flush: 0.2
3+
grace: 3
4+
log_level: info
5+
http_server: on
6+
http_port: ${FLUENT_BIT_HTTP_MONITORING_PORT}
7+
parsers_file: ${MANTICORE_PARSERS_FILE}
8+
9+
pipeline:
10+
inputs:
11+
- name: tail
12+
tag: manticore_session
13+
path: ${MANTICORE_INPUT_PATH}
14+
refresh_interval: 1
15+
read_from_head: true
16+
exit_on_eof: ${MANTICORE_EXIT_ON_EOF}
17+
parser: session_json
18+
19+
outputs:
20+
- name: manticore
21+
match: '*'
22+
host: 127.0.0.1
23+
port: ${MANTICORE_PORT}
24+
table: session_logs
25+
workers: 1
26+
single_chunk: true
27+
spool_path: ${MANTICORE_SPOOL_PATH}
28+
stream_chunk_size: 64K
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
service:
2+
flush: 0.1
3+
grace: 3
4+
log_level: info
5+
http_server: on
6+
http_port: ${FLUENT_BIT_HTTP_MONITORING_PORT}
7+
parsers_file: ${MANTICORE_PARSERS_FILE}
8+
9+
pipeline:
10+
inputs:
11+
- name: tail
12+
tag: manticore_spool
13+
path: ${MANTICORE_INPUT_PATH}
14+
read_from_head: true
15+
exit_on_eof: ${MANTICORE_EXIT_ON_EOF}
16+
parser: spool_json
17+
18+
outputs:
19+
- name: manticore
20+
match: '*'
21+
host: 127.0.0.1
22+
port: ${MANTICORE_PORT}
23+
table: spool_logs
24+
workers: 1
25+
single_chunk: true
26+
spool_path: ${MANTICORE_SPOOL_PATH}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
service:
2+
flush: 0.2
3+
log_level: info
4+
http_server: on
5+
http_port: ${FLUENT_BIT_HTTP_MONITORING_PORT}
6+
parsers_file: ${MANTICORE_PARSERS_FILE}
7+
8+
pipeline:
9+
inputs:
10+
- name: tail
11+
tag: manticore_wire
12+
path: ${MANTICORE_INPUT_PATH}
13+
read_from_head: true
14+
parser: manticore_json
15+
16+
outputs:
17+
- name: manticore
18+
match: '*'
19+
host: 127.0.0.1
20+
port: ${MANTICORE_PORT}
21+
table: wire logs
22+
stream_chunk_size: 128

0 commit comments

Comments
 (0)