SRVANT

Documentation

Log Forwarders

To get logs into the SRVANT Gateway, you need a lightweight log forwarder. The Gateway accepts standard HTTP POST requests, which means it is compatible with almost any log shipper.

Configuring Fluent Bit

Fluent Bit is a fast, lightweight log processor. In this example, we configure it to tail local Apache logs and forward them via HTTP POST to the SRVANT Gateway's ingestion endpoint.

fluent-bit.conf
[SERVICE]
    Flush        1
    Daemon       Off
    Log_Level    info

# --- INPUTS ---
[INPUT]
    Name         tail
    Path         /var/log/apache2/access.log
    Tag          apache.access
    Read_from_Head True

# --- OUTPUTS ---
[OUTPUT]
    Name         http
    Match        apache.access
    Host         GATEWAY_IP
    Port         10080
    URI          /ingest/PIPELINE_ID
    Header       Authorization Bearer YOUR_TOKEN
    Format       json
    Retry_Limit  5
Note: Be sure to replace GATEWAY_IP with the internal IP address or hostname of your SRVANT Gateway, and PIPELINE_ID with the specific ingest path generated by the Control Plane. If your pipeline has authentication enabled, you must also replace YOUR_TOKEN with a valid pipeline token; otherwise, you can omit the authentication headers entirely.