Get a DemoStart Free TrialSign In


Ship logs using HTTP/S to your Stack

Send HTTP/S logs to your Stack via Logstash.

Follow this step by step guide to start sending data from your system to

Step 1 - Requirements

  • Valid JSON content
  • API key (find this on your dashboard) sent in the headers. If you are logged into your account the API key and endpoint should be automatically populated in the examples below.
  • Content-Type header set as application/json
  • Either POST or PUT to

Step 2 - Example

Remember that you will need to escape double-quote characters with a backslash in the data field as shown in the example below:


curl -i -H "ApiKey: <your-api-key>" -i -H "Content-Type: application/json" -H "LogType: json" -d "{\"test\":\"test\",\"example\": { \"a\": 1, \"b\": 2 } }"


curl -Method Post `
-Uri "" `
-Headers @{
    "ApiKey" = "<your-api-key>";
    "Content-Type" = "application/json";
    "LogType" = "json"
} `
-Body (@{
    test = "test";
    example = @{
        a = 1;
        b = 2
} | ConvertTo-Json)
curl -i -H "ApiKey: <your-api-key>" -i -H "Content-Type: application/json" -H "LogType: json" -d '{"test":"test","example": { "a": 1, "b": 2 } }'
curl -i -H "ApiKey: <your-api-key>" -i -H "Content-Type: application/json" -H "LogType: json" -d '{"test":"test","example": { "a": 1, "b": 2 } }'
curl -i -H "ApiKey: <your-api-key>" -i -H "Content-Type: application/json" -H "LogType: json" -d '{"test":"test","example": { "a": 1, "b": 2 } }'
curl -i -H "ApiKey: <your-api-key>" -i -H "Content-Type: application/json" -H "LogType: json" -d '{"test":"test","example": { "a": 1, "b": 2 } }'

Step 3 - Response

You should expect to receive a 202 ACCEPTED response code for a successful message

Content-Type: application/json
Content-Length: 39
Connection: keep-alive
Server: Logit-API-Server
Date: Wed, 27 Mar 2024 14:34:39 GMT
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN

{"message":"Message Received, Thanks"}

Step 4 - Check for your logs

Data should now have been sent to your Stack.

View my data

If you don't see logs take a look at How to diagnose no data in Stack below for how to diagnose common issues.

Step 5 - how to diagnose no data in Stack

If you don't see data appearing in your Stack after following the steps, visit the Help Centre guide for steps to diagnose no data appearing in your Stack or Chat to support now.

Step 6 - HTTP/S Logging Overview

HTTP is a client-server protocol designed in the early 1990s & provides the foundation of all web data exchanges. Data is sent over the connection using TCP or over a TLS-encrypted connection.

All HTTP requests are stored as logs in a text file. You’ll be able to locate all HTTP requests, access, status codes, server, & error logs in thelogs directory below the server instance root directory.

Querying all of the various HTTP logs generated by your application can easily turn into an unnecessarily time-consuming task when scaling your log analysis for larger websites processing thousands of requests per day.

Using a centralised logging UI (user interface) for reporting & visualisations makes streaming & troubleshooting your HTTP/S logs far more efficient in comparison to dealing with numerous log files across distributed systems.

The platform offers a complete platform for centralising your log files from multiple applications and servers and provides an HTTP logger as part of our platform.

Our platform provides your teams with an easier solution for processing your HTTP/S data, as all of your logs can be sent directly to for further processing, parsing & analysis.’s hosted ELK (Elasticsearch, Logstash, & Kibana) solution allows you to get the best out your HTTP/S log data by providing your developers with complete visibility of their web requests & tail events in real-time.

If you need any more help with migrating your HTTP/S logs to a single centralised log management platform our team is here to help. Feel free to visit our Help Centre or get in contact with our support team by sending us a message via live chat & we'll be happy to assist.

Return to Search
Sign Up

© 2024 Ltd, All rights reserved.