How do I collect existing application log files (text or JSON) and make them searchable?
You can collect existing application log files (text or JSON) and make them searchable in SigNoz Cloud without changing the application's code. This works for third-party or vendor applications whose code you cannot modify, provided you can access their log files. A collection agent reads those files and forwards the records to SigNoz Cloud.
You can use an OpenTelemetry Collector for file collection or keep an existing tool such as Fluent Bit, Fluentd, Logstash, or Vector. The collection setup still needs access to the files and a configured destination, but the application can continue writing its existing logs.
Collect the existing text or JSON log files
An OpenTelemetry Collector running where it can access the files can read them with its filelog receiver and send their records to SigNoz Cloud. The file collection guide explains how to set the file paths and configure the receiver and export destination. This does not require adding a logging SDK to the application.
The OpenTelemetry Collector needs permission to read the files. If it runs in a container, mount the log files into that container.
In SigNoz Cloud workspaces with native JSON log body support, valid JSON objects in the log body are parsed automatically, and you can filter on their fields directly. For example, a request ID can remain in the JSON body, without you needing to copy it into a separate attribute just to filter on it. Availability depends on your workspace. The linked guide lists the supported regions and account sign-up dates, and explains how to check whether the feature is active.
Parsing is still useful when you want to extract a request ID from unstructured text, copy selected JSON fields into attributes, or map source fields to standard log fields such as severity or timestamp. You can do this in a Collector or with SigNoz Logs Pipelines.
A stack trace can span several lines even though it describes one error. Configure multiline handling in your collector to combine the exception message and its stack frames into a single log record. If each line is sent separately, a search for the exception message may return only that line, leaving the stack frames in other records and making the complete error harder to inspect. The filelog multiline configuration explains how to identify where each record starts or ends.
Use a collector you already run
When a connection uses an OpenTelemetry Collector alongside your existing tool, your tool collects the logs and the Collector forwards them to SigNoz Cloud. You can use a Collector you already run or add one. The log collection methods guide helps you choose the path for your tool.
The configuration depends on how your collector sends logs to another system. Fluent Bit and Fluentd can send records to an OpenTelemetry Collector, which converts and forwards them to SigNoz Cloud. The Fluent Bit guide also documents a direct connection from a VM or Docker host. Fluent Bit's opentelemetry output sends logs straight to SigNoz Cloud using OTLP (OpenTelemetry Protocol), without an intermediate OpenTelemetry Collector. Vector's Cloud setup can send JSON logs directly over HTTP.
Find your collector below to see how its logs reach SigNoz Cloud and what you need to configure. Each collector's name links to its setup guide.
| Your collector | How its logs reach SigNoz Cloud | What you need to configure |
|---|---|---|
| Fluent Bit | Its forward output sends records to an OpenTelemetry Collector, which forwards them using OTLP. The guide also documents direct OTLP export with its opentelemetry output on a VM or Docker host. | Choose the output and configure the receiving endpoint. On Kubernetes, follow the instructions for mapping pod metadata and avoiding duplicate collection. |
| Fluentd | Its forward output sends records to an OpenTelemetry Collector's Fluent Forward receiver. The Collector then forwards them using OTLP. | Set Fluentd's destination and enable the receiver in the Collector's logs pipeline. |
| Logstash | Logstash sends JSON lines over TCP to an OpenTelemetry Collector's tcplog receiver. The Collector parses them and forwards them using OTLP. | Set the TCP output and receiver, then configure JSON parsing, timestamp extraction, and application identity. |
| Vector | Vector's HTTP sink sends JSON logs directly to SigNoz Cloud's Vector ingestion endpoint. | Set the HTTP destination and ingestion key, and map your log fields to the structure described in the guide. |
The linked guides provide configuration examples and version-specific requirements. Use the instructions for your collector and deployment when setting up the connection.
Do my applications have to produce OTLP logs?
Your application can continue writing its existing log format. A collector can read those records and convert them into the format the receiving system expects. OTLP is used to send telemetry between systems such as an OpenTelemetry Collector and SigNoz Cloud, but it does not require every application to export logs through an OpenTelemetry SDK.
For example, if Fluent Bit already reads your application's log files, the Fluent Bit guide explains how to send them to SigNoz Cloud through an OpenTelemetry Collector:
Application log files
→ Fluent Bit
→ Fluent Forward receiver in an OpenTelemetry Collector
→ OTLP export to SigNoz CloudFluent Bit reads the files and sends records using the Fluent Forward protocol. The OpenTelemetry Collector's Fluent Forward receiver converts those events into OpenTelemetry log records. The Collector then exports them to SigNoz Cloud using OTLP, without the application needing to generate OTLP itself. The receiver's data-conversion documentation explains how the original message, timestamp, tag, and other fields are represented.
Both SigNoz Cloud and self-hosted SigNoz provide OTLP endpoints. The receiving endpoint must understand the protocol your collector sends, so Fluent Forward traffic goes to a Fluent Forward receiver first.
What differs between SigNoz Cloud and self-hosted SigNoz?
When an OpenTelemetry Collector forwards logs to SigNoz Cloud, it uses your region's ingestion endpoint and your workspace's ingestion key. If you use self-hosted SigNoz, configure it to send logs to your own deployment instead. The Cloud and self-hosted ingestion guide explains which endpoint, authentication, and TLS settings to use.
Some tools also need a different output configuration. The Vector guide, for example, uses an HTTP JSON sink for SigNoz Cloud and an OpenTelemetry sink for self-hosted SigNoz. The self-hosted instructions include a transform that builds the required OTLP structure, and the sink described there is in beta. Switching between these configurations requires more than replacing the destination URL. For Fluent Bit with self-hosted SigNoz, follow the guide's Collector-based instructions. Its direct-output example covers SigNoz Cloud on a VM or Docker host.
The same applies to HTTP endpoints. SigNoz Cloud accepts OTLP over HTTP. It also has separate endpoints for HTTP JSON logs (/logs/json) and Vector (/logs/vector), each with its own documented payload requirements. Use the endpoint and payload from your tool's guide. An OTLP/HTTP endpoint does not convert ordinary JSON log records into OTLP records.
How do I check that the logs are useful after connecting?
Start with a few identifiable records from one application. For example, suppose a payment service writes a timeout message and includes the affected request's ID. After configuring collection, open Logs Explorer in SigNoz Cloud and search for a distinctive part of that message. Inspect the matching record to check that the details needed for an investigation have arrived:
- Arrival and count: Compare the records you sent with the results in SigNoz Cloud. Missing records can indicate a collection problem, while duplicates can mean two collectors are reading the same source.
- Timestamp: Does the stored event time match the original record, so the failure appears in the expected investigation window?
- Application identity: Does the
service.nameresource attribute identify the payment service? Configure that mapping if the source does not supply it, so you can narrow searches to the right application. - Searchable fields: Can you filter on the request ID as a JSON body field or an attribute? If it is only part of an unstructured text message, configure parsing when you need it as a separate field.
If you use Fluent Bit with the Fluent Forward receiver, you can also find its records using the fluent.tag attribute, as shown in the Fluent Bit guide. On Kubernetes, inspect the pod, namespace, and container attributes too. The resource attributes guide explains how to add the application and environment details that help you filter logs.
Finding the payment's log does not automatically make its trace available. To open the request's trace from that log, the record needs its trace ID mapped correctly, and the corresponding trace must have been collected and still be available in SigNoz Cloud. A collector cannot infer a missing trace ID from an arbitrary message. The logs and traces correlation guide covers that setup.
If you are moving logs off Datadog while keeping metrics and APM there, continue with the staged migration FAQ. It covers comparing destinations, checking alerts, and switching one service at a time.