Problems when interacting with Server API Endpoints #2220
-
Hello, I am trying to interact with endpoints such as "api/events", but every time I get {"Error": "Not found."} as a response. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @TarasRashkevych99 👋 What do you get if you request just If you don't see it, it's possible you're actually hitting Seq via it's limited ingestion port instead of its regular API port. The Docker container serves the API on port 80 in the container, and ingestion on port 5341. Usually, you'll map these onto the host in your |
Beta Was this translation helpful? Give feedback.
Hi @TarasRashkevych99 👋 What do you get if you request just
/api
? That should include a JSON payload that starts like{"Product":"Seq ♦ Machine data, for humans."...
.If you don't see it, it's possible you're actually hitting Seq via it's limited ingestion port instead of its regular API port. The Docker container serves the API on port 80 in the container, and ingestion on port 5341. Usually, you'll map these onto the host in your
docker run
command with an argument like-p 5341:80
so that you access Seq via its API port on the host's port 5341.