After creating a logging pipeline via the REST API, complete the logging pipeline configuration process using the following:
Prerequisites: To send logs to the logging platform, you must have the following:
A Ready
pipeline instance to obtain the tcpAddress
or httpAddress
.
A key that you already obtained.
Fluent Bit log agent installed in your platform. For more information, see Getting Started with Fluent Bit.
Based on your infrastructure—whether it uses Kubernetes, Docker, or Linux Systemd—you may follow different instructions to set up and install Fluent Bit. However, ensure that the Fluent Bit's output configuration contains the following:
A log server endpoint is either a tcpAddress
or a httpAddress
, based on your log source.
A Shared_Key
is required for authentication.
The Tag
that you defined while creating the pipeline.
Here is an example of a Fluent Bit configuration that needs an endpoint, tag, and a key:
Warning: The port must be set to 9000 if you are using a TCP protocol.
Fluent Bit can be configured to expose more verbose logs for troubleshooting purposes.
For more information, see Fluent Bit global configuration.
An observability platform is necessary for visualization and reporting purposes. IONOS uses Grafana to enable you to meet your visualization needs.
Note:
Once you have created a pipeline, you can access your Grafana instance by logging in with your IONOS credentials.
Your Grafana configurations and organization are associated with your contract number. If you have configured users with unique email addresses, they can access Grafana only with those specific email addresses linked to the contract number. Users cannot log into Grafana using any other email address unrelated to the contract.
Sub-users in your contract number can access Grafana with their IONOS credentials, subject to the following conditions:
At least one pipeline must be connected to the contract number.
Sub-users must be active and have the necessary privileges to access Logging Service.
If you are unable to log into Grafana, ensure that you have checked the following:
The sub-user is active and has the necessary privileges to access the Logging Service.
The contract number contains at least one logging pipeline.
The sub-user uses the correct email address associated with the contract number.
If the issue persists, contact IONOS Cloud Support.
You can obtain your Grafana instance address by sending a GET
request to the server. For more information, see Retrieve logging pipeline information. The response contains the grafanaAddress
. This information remains the same for all your logging pipelines.