Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
d55a6deb
Unverified
Commit
d55a6deb
authored
Feb 12, 2019
by
Marcus Efraimsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenv: proper fluentd conf for grafana and loki
parent
7b1249ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
8 deletions
+33
-8
devenv/docker/ha_test/fluentd/fluentd.conf
+33
-8
No files found.
devenv/docker/ha_test/fluentd/fluentd.conf
View file @
d55a6deb
...
...
@@ -4,13 +4,37 @@
bind
0
.
0
.
0
.
0
</
source
>
<
filter
grafana
>
@
type
parser
<
parse
>
@
type
json
json_parser
json
</
parse
>
replace_invalid_sequence
true
emit_invalid_record_to_error
false
key_name
log
reserve_data
true
remove_key_name_field
true
</
filter
>
<
filter
grafana
>
@
type
record_transformer
remove_keys
"source,t"
</
filter
>
<
match
grafana
>
@
type
loki
url
"http://loki:3100"
extra_labels
{
"app"
:
"grafana"
}
label_keys
"container_name,container_id"
line_format
"json"
flush_interval
10
s
flush_at_shutdown
true
buffer_chunk_limit
1
m
@
type
copy
<
store
>
@
type
stdout
output_type
json
</
store
>
<
store
>
@
type
loki
url
"http://loki:3100"
extra_labels
{
"app"
:
"grafana"
}
label_keys
"container_name,container_id,logger"
flush_interval
10
s
flush_at_shutdown
true
buffer_chunk_limit
1
m
</
store
>
</
match
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment