You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can i configure ECS Fargate Firelens logging with the fluentbit-init image to send JSON formatted logs to splunk and observe as well? The container logs in json format, but when i tried to use the docker PARSER and a FILTER to the log key it sends nothing to splunk nor observe.
Configuration
[PARSER]
Name docker
Format json
# Command | Decoder | Field | Optional Action
# =============|==================|=================
Decode_Field_As escaped_utf8 log do_next
Decode_Field_As json log
[FILTER]
Name parser
Match *
Key_Name log
Parser docker
Reserve_Data True
Preserve_Key True
[OUTPUT]
name http
match *
host <masked>collect.observeinc.com
port 443
tls on
uri /v1/http/fluentbit
format json
header Authorization Bearer <masked>
header X-Observe-Decoder fluent
header Content-Type application/json
compress gzip
[OUTPUT]
Name splunk
Match *
Host <masked>.splunkcloud.com
Port 443
TLS On
TLS.Verify Off
Splunk_Token <masked>
Splunk_Send_Raw Off
event_index nonprod
event_source /app/solaris
Fargate
Sidecar deployment of fluentbit init image.
Application Details
The application logs in JSON format to the STDOUT inside the container. The task definition restricts the root filesystem to readonly for the app container.
Steps to reproduce issue
Related Issues
The text was updated successfully, but these errors were encountered:
Describe the question/issue
How can i configure ECS Fargate Firelens logging with the fluentbit-init image to send JSON formatted logs to splunk and observe as well? The container logs in json format, but when i tried to use the docker PARSER and a FILTER to the
log
key it sends nothing to splunk nor observe.Configuration
Task definition
Fluent Bit Log Output
Fluent Bit Version Info
1.9.10
Cluster Details
Fargate
Sidecar deployment of fluentbit init image.
Application Details
The application logs in JSON format to the STDOUT inside the container. The task definition restricts the root filesystem to readonly for the app container.
Steps to reproduce issue
Related Issues
The text was updated successfully, but these errors were encountered: