Skip to content

project to manually test fluentbit configurations and go output plugin

Notifications You must be signed in to change notification settings

pete911/fluent-bit-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fluent-bit-test

Project to manually test fluent-bit configurations. Includes an example of fluent-bit output plugin written in go.

requirements

run

  • modify values.yml if needed and run make run start kind cluster
  • cluster runs test log-app exposed on 30500 port, which can be used to generate logs by POSTing data to it:
    • curl -v -X POST -d 'test log message' http://localhost:30500
  • logs are sent to /tmp/fluent-bit-test/ local directory
    • tail -f /tmp/fluent-bit-test/kube.var.log.containers.log-app-*.log | jq .
  • project is also configured with out-plugin written in go. To view the output from this plugin, run:
    • tail -f /tmp/fluent-bit-test/out
  • clean up after test make cleanup

debug kind cluster

  • docker ps - list kind cluster nodes running as docker images
  • docker exec -it fluent-bit-test-control-plane bash - "ssh" onto control plane node
  • once on the node, we can:
    • ps auxf check processes
    • crictl images check images already present on the node

About

project to manually test fluentbit configurations and go output plugin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published