v1

latestOpenAPI 3.1.02026-07-26189891.1 MB
Ingestion

Send Log Lines

Use this method to send logs to a logging instance.

Authentication

You can find instructions on authentication here. Ingestion is similar to the other APIs, but instead of servicekey you will use apikey if you are using the header style authentication.

Metadata

Meta is a field reserved for custom information associated with a log line. To add metadata to an API call, specify the meta field under the lines object. Metadata can be viewed inside that line's context

WARNING: If inconsistent value types are used, that line's metadata, will not be parsed. For example, if a line is passed with a meta object, such as meta.myfield of type String, any subsequent lines with meta.myfield must have a String as the value type for meta.myfield.

Please be aware of service limits on this endpoint

post/logs/ingest

Query parameters

hostnamestring required

Host name of the source.

macstring

The network mac address of the host computer.

Example:01:02:03:04:ab:cd

The network mac address of the host computer.

ipstring

The local IP address of the host computer (ipv4 or ipv6)

Example:10.0.1.111

The local IP address of the host computer.

nowstring

The source UNIX timestamp in milliseconds at the time of the request. Used to calculate time drift.

tagsstring

Tags that are used to dynamically group hosts.

Request body

Response

OK

object required