Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cannot send logs to https://server/subpath #334

Open
ggercman opened this issue Aug 24, 2023 · 0 comments
Open

[BUG] Cannot send logs to https://server/subpath #334

ggercman opened this issue Aug 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ggercman
Copy link

ECS integration/library project(s) (e.g. Elastic.CommonSchema.Serilog):
Elastic.Serilog.Sinks

ECS .NET assembly version (e.g. 1.4.2):
8.6.1

.NET framework / OS:
dotnet 7

Description of the problem, including expected versus actual behavior:
Logs are sent to root url, subpath is ignored.

Steps to reproduce:

  1. Set elastic search under reverse proxy with subpath, for example https://server/elastic => http://localhost:9200
  2. Configure serilog to send logs to https://server/elastic (as in documentation https://www.elastic.co/guide/en/ecs-logging/dotnet/current/serilog-data-shipper.html)
  3. observe that logs are sent using POST to https://server/logs-console-example-demo/_bulk?filt... subpath is ignored.
@ggercman ggercman added the bug Something isn't working label Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant