docs-uptime-test-4

Team token test
  curl --request GET \
  --url https://logtail.com/api/v1/sources \
  --header "Authorization: Bearer $TEAM_TOKEN"

You can use Vector to collect logs from your Nginx webserver. The installation and configuration process is the following:

  1. Install Vector on your server
  2. Download Vector configuration for your source: wget -O ->> /etc/vector/vector.toml \ https://logtail.com/vector-toml/nginx/<YOUR_LOGTAIL_SOURCE_TOKEN>
  3. Restart Vector systemctl restart vector
  4. That's all ๐ŸŽ‰
 
error_log(
    string $message,
    int $message_type = 0,
    ?string $destination = null,
    ?string $additional_headers = null alskdjaklsjd lkaskld jalksjd lkasjd lkajslkd ajlsd jaklsld j
): bool

Make sure to replace <YOUR_LOGTAIL_SOURCE_TOKEN> with your own source token from Logtail.com.

 
test