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 · 1 comment · May be fixed by #446
Open

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

ggercman opened this issue Aug 24, 2023 · 1 comment · May be fixed by #446
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
@Mpdreamz Mpdreamz linked a pull request Sep 18, 2024 that will close this issue
@Mpdreamz
Copy link
Member

Sorry this issue kept dropping off to the point it had to be reported twice: #428

This was fixed in the underlying ingestion libraries and should be fixed once #446 lands.

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

Successfully merging a pull request may close this issue.

2 participants