Website logo
Request featuresJoin Our Community
⌘K
KloudMate
Getting Started
Why KloudMate?
Setting Up KloudMate
FAQs (Frequently Asked Questions)
Getting Help
Dashboards
Creating a Dashboard
Managing Dashboards and Panels
KloudMate Metrics
Explore
AWS Inventory
Lambda Functions
Logs
CloudWatch Logs
Traces
Issues
OpenTelemetry Support in KloudMate
What Is OpenTelemetry?
How Does OpenTelemetry Work?
Sending Data to KloudMate
Installing the OpenTelemetry Collector
Using OpenTelemetry Collector
Using OpenTelemetry SDKs
Service Integration Guides
Incident Management With KloudMate
Overview
Incident Lifecycle
Incidents
Services
Escalation Policy
Integrations
Slack Integration
Service Map
Alarms & Notifications
Understanding KloudMate Alarms
Setting Up KloudMate Alarms
Writing Expressions for KloudMate Alarms
Setting Up Notifications
Settings
Workspaces
Data Sources
Users & Permissions
Subscription & Billing
Usage Report
Profile & Security
Deleting Your AWS Account from KloudMate
Docs powered by Archbee
OpenTelemetry Support in Kloud...
...
Service Integration Guides
Postgres Monitoring

Postgres Logs to KloudMate using Fluent Bit

2min

This document provides a guide on how to send Postgres logs to KloudMate, using Fluentbit.

In the described setup, Fluent Bit is used as the log exporting agent to send logs. The Postgres system log files are generally stored in different file locations. Fluent Bit will deliver those file logs to KloudMate.

PS: It is important to note, that you must point your path in the INPUT section, to wherever file logs are written.

Step 1: Prerequisites:

  • Fluentbit binaries and packages as per your system requirement.

Step 2: Configure fluentbit to send telemetry data to KloudMate backend.

Text
[SERVICE]
    flush        1
    daemon       Off
    log_level    debug
    parsers_file parsers.conf
    plugins_file plugins.conf
    http_server  Off
    http_listen  0.0.0.0
    http_port    2020
    storage.metrics on

[INPUT]
    Name                syslog
    Path                /tmp/in_syslog
    Buffer_Chunk_Size   32000
    Buffer_Max_Size     64000
    Receive_Buffer_Size 512000

[OUTPUT]
    name  stdout
    match *

[OUTPUT]
    Name                 opentelemetry
    Match                *
    Host                 otel.kloudmate.com
    Port                 4318
    Logs_uri             /v1/logs
    Log_response_payload True
    Header               Authorization <Auth token>
    Tls                  On
    Tls.verify           Off
    # add user-defined labels
    add_label            db logs
    add_label            service.name <service name>


After restarting the Fluentbit service, Postgres logs will be successfully delivered to KloudMate.

Did this page help you?
PREVIOUS
Postgres Metrics to KloudMate
NEXT
Windows Server Metrics to KloudMate
Docs powered by Archbee
Docs powered by Archbee