Otvoriť Uzavreté

Blazor Server: Audit Logs shows "/_blazor" on every single "HttpRequest" #1743


User avatar
0
BassaSolutions vytvorené

When using blazor server, Audit Logs shows "/_blazor" for each HttpRequest property. Altough websockets are used, there should still be proper information in the Auditlog, so we know for which request it is.

  • ABP Framework version: v4.3.3
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

10 odpoveď(e)/dí
  • User Avatar
    0
    berkansasmaz vytvorené
    Tím podpory .NET Developer

    Yes, that's right, for someone who currently has a blazor-server application, the audit-logs page looks like the picture below, which is not very meaningful.

    As a result of my short research on the subject, I encountered many arguments saying that the request path cannot be taken, but I am opening an internal issue for further investigation.

    By the way, I'm closing the issue, however, I'll reply it here with the details when we reach a conclusion.

  • User Avatar
    0
    BassaSolutions vytvorené

    I dont think that is should be limited to the request path, there just should be something logged that make the log useful. E.g. The ApplicationService Name. In the current state the feature is really hard to use with blazor server (0 filtering possibility...).

  • User Avatar
    0
    maliming vytvorené
    Tím podpory Fullstack Developer

    hi

    We will check this. : )

  • User Avatar
    0
    ServiceBot vytvorené
    Tím podpory Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

  • User Avatar
    0
    BassaSolutions vytvorené

    Please do not close :). I'm watching this issue, as the Audit Logs feature should be fully supported also on Blazor. Currently its nearly useless as filtering is not possible.

  • User Avatar
    0
    murat.yuceer vytvorené

    Also can we transfer client ip address from http. Example from blazor server IP Address is empty

  • User Avatar
    0
    BassaSolutions vytvorené

    ip address from http. Example from blazor serv

    Hi, How did you achive this on blazor server?

  • User Avatar
    0
    alper vytvorené
    Tím podpory Director

    "this is not possible with the known methods right now" says Microsoft developer. See this comment https://github.com/dotnet/aspnetcore/issues/37728#issuecomment-948511840

  • User Avatar
    0
    BassaSolutions vytvorené

    "this is not possible with the known methods right now" says Microsoft developer. See this comment https://github.com/dotnet/aspnetcore/issues/37728#issuecomment-948511840

    We do not need the IP addresses.

    We just need something to be able to use the auditlogs. E.g. the app-service name that was called. There needs to be something that can be used for filtering.

  • User Avatar
    0
    alper vytvorené
    Tím podpory Director

    ok I'm creating an issue for this request. https://support.abp.io/QA/Questions/1743/Blazor-Server-Audit-Logs-shows--blazor-on-every-single--HttpRequest

Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11