Questions tagged [fluent-docker]

23 questions
4
votes
1 answer

C# + DockerCompose - Wait for MS SQL Server Docker container to be up before trying to connect

I am trying to create integration tests for my microservices similar to Spotify's approach. I am still working on how to spin up and seed the database. Currently I have a .NET Core 2.0 project with FluentDocker v2.2.15 and DbUp 4.1.0. I use…
peflorencio
  • 2,284
  • 2
  • 32
  • 40
1
vote
1 answer

Could not communicate to Elasticsearch

I am trying to send my node app logs to fluentd to elasticsearch to kibana, but having a problem connecting fluentd with elasticsearch with docker. I want to dockerize this efk stack. I have attached the folder structure and shared relevant…
1
vote
1 answer

How to connect to mongodb using FluentDocker

I am trying to use FluentDocker to run the tests against MongoDB, but I cannot connect to it, see the code below. [Fact] public async Task TestMongoDbConnection3() { const string root = "root"; …
J. Viégas
  • 135
  • 1
  • 11
1
vote
0 answers

s3_out: unable to sign request without credentials set

I try to use "instance_profile_credentials" at ec2 instance as credentials. However I get 2021-09-16 14:16:50 +0000 [error]: #0 unexpected error error_class=RuntimeError error="can't call S3 API. Please check your credentials or s3_region…
carfield
  • 2,011
  • 2
  • 15
  • 15
0
votes
0 answers

I keep getting "The response ended prematurely" when invoking Web api in .net core tests

I'm using Specflow as BDD testing framework and Fluent docker to spin up API container before each tests using docker compose file. I put a breakpoint before sending a http request to test if the container is up and my app is running perfectly. I…
0
votes
0 answers

Fluentd is not sending out any logs to s3 after adding filters in configuration

I'm having a bit of trouble with my Fluentd configuration. It seems to be sending logs to OpenSearch just fine, but I can't get it to send the data with the same tags to S3. just to clarify, Fluentd is running inside a container. Now, how to send…
0
votes
0 answers

fluentd exec_filter output fails to recover after OOM

I'm using fluentd in docker (alpine image) to collect messages from gelf input. Running it using docker-compose. In the output, I need to send the messages to a 3rd party using a python SDK, and I need the output to be synchronous, i.e. have only…
Ofek Agmon
  • 5,040
  • 14
  • 57
  • 101
0
votes
0 answers

Exclude logs from fluentd using exclude directive not working

Trying to exclude logs using the grep's exclude directive. @type grep key kubernetes.pod_name pattern /^podname-*/ I tried with different key names e.g.…
0
votes
1 answer

How to redirect logs from fluentd (log collector) to GCP Cloud Storage

I want my fluentd ( log Collector) to forward logs to GCP Cloud storage. Currently, docker container logs are collected by fluentd and forwarded to loki. What steps to be followed to redirect logs from fluentd to Cloud Storage. After creating…
0
votes
0 answers

Fluentd- Failed to flush the buffer- connection reset by peer SSL connect

I am getting below error in Fluentd logs Connection reset by peer SSL connect I installed Fluentd I'm eks as a daemon set and pushing logs to splunk server directly. Fluentd is failed flush the buffer with the above error. Can someone help me how to…
0
votes
1 answer

Fluentd corrupted messages

I have a strange problem. I am sending the logs of my kubernetes cluster to Kafka using Fluentd. Everything works fine when I tell Fluentd to send the messages to a single topic partition. But when I tell Fluentd to distribute the messages in the…
0
votes
0 answers

Receiving Buffer flush took longer time than slow_flush_log_threshold: warnings in fluentD

We deploymed our fluentd application on AKS. From the past few days we are seeing multiple warnings in our aks pods. [warn]: #6 buffer flush took longer time than slow_flush_log_threshold: elapsed_time=34.518092500045896…
SONIA_2907
  • 46
  • 6
0
votes
1 answer

My web server tries to connect to fluentd before listening port on docker

I want to run my ASP.NET Core web api server and fluentd for its logging driver with docker-compose. My docker-compose.yml is like below. version: "2" services: web: build: context: .. dockerfile: ./DockerTest/Dockerfile …
Ellisein
  • 878
  • 6
  • 17
0
votes
1 answer

fluentd opensearch plugin: NoSuchProfileError

I'm using fluentd docker (1.14.5) with OpenSearch plugin (1.0.2) with the following config: @type opensearch logstash_format true include_tag_key true tag_key "@log_name" url https://MY_AWS_ENDPOINT …
Sagi Mann
  • 2,967
  • 6
  • 39
  • 72
0
votes
0 answers

How to use nginx with fluentd in Docker Compose

I have a docker-compose file where it contains 4 containers - flask app nginx for reverse proxy fluentd for log processing mongodb for storing the logs version: '3' services: fluentd: build: fluentd container_name: fluentd …
Jananath Banuka
  • 2,951
  • 8
  • 57
  • 105
1
2