This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@vm:~/fluent-bit-lua-parallel/fluent-bit/build/bin# valgrind --leak-check=full ./fluent-bit -c fluent-bit.conf | |
==26121== Memcheck, a memory error detector | |
==26121== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. | |
==26121== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info | |
==26121== Command: ./fluent-bit -c fluent-bit.conf | |
==26121== | |
Fluent Bit v3.0.0 | |
* Copyright (C) 2015-2024 The Fluent Bit Authors | |
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd | |
* https://fluentbit.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Specify path to Lua Lanes module | |
-- Install via: 'luarocks install lanes' | |
local lanes_path = "/usr/local/share/lua/5.1/lanes.lua" | |
-- Load Lanes lib | |
local lanes = assert(loadfile(lanes_path))().configure() | |
-- Lua function that will be executed as separate threads | |
local function process_log(timestamp, record) | |
-- Add your CPU intensive code here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[SERVICE] | |
Flush 5 | |
Log_Level debug | |
Daemon off | |
HTTP_Server Off | |
[INPUT] | |
Name dummy | |
Tag my_logs | |
Rate 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fluent Bit v2.2.2 | |
* Copyright (C) 2015-2024 The Fluent Bit Authors | |
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd | |
* https://fluentbit.io | |
____________________ | |
< Fluent Bit v2.2.2 > | |
------------------- | |
\ | |
\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fluent Bit v2.2.2 | |
* Copyright (C) 2015-2024 The Fluent Bit Authors | |
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd | |
* https://fluentbit.io | |
____________________ | |
< Fluent Bit v2.2.2 > | |
------------------- | |
\ | |
\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fluent Bit v3.0.0 | |
* Copyright (C) 2015-2024 The Fluent Bit Authors | |
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd | |
* https://fluentbit.io | |
____________________ | |
< Fluent Bit v2.2.2 > | |
------------------- | |
\ | |
\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/plugins/in_emitter/emitter.c b/plugins/in_emitter/emitter.c | |
index 62886d1..aded98b 100644 | |
--- a/plugins/in_emitter/emitter.c | |
+++ b/plugins/in_emitter/emitter.c | |
@@ -138,8 +138,10 @@ int in_emitter_add_record(const char *tag, int tag_len, | |
(void *) &temporary_chunk, | |
sizeof(struct em_chunk)); | |
} | |
- | |
+ flb_plg_debug(ctx->ins, "did not use ring-buffer"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[MULTILINE_PARSER] | |
name multiline-regex-test | |
type regex | |
flush_timeout 1000 | |
# | |
# Regex rules for multiline parsing | |
# --------------------------------- | |
# | |
# configuration hints: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[SERVICE] | |
flush 1 | |
log_level trace | |
parsers_file parsers_multiline.conf | |
[INPUT] | |
name dummy | |
Dummy {"message": "Dec 14 06:41:08 Exception in thread \"main\" java.lang.RuntimeException: Something has gone wrong, aborting!\n at com.myproject.module.MyProject.badMethod(MyProject.java:22)"} | |
Copies 5 | |
Rate 2 | |
[FILTER] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
service: | |
flush: 1 | |
daemon: off | |
log_level: info | |
http_server: on | |
health_check: on | |
pipeline: | |
inputs: |
NewerOlder