Skip to content

Query parameters for the filtervaluesΒ #188

@sommmen

Description

@sommmen

Is your feature request related to a problem? Please describe.

We also have an external system showing debug info, and it would be cool to be able to generate a link to serilog-ui for specific logs or timeframes so we can have minimal and easy 'integration'.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Allow for the filter options to be set by query parameters, for example;

/serilog-ui?q={table: '...', fromDt: ..., tillDt: ...}

In that sample you'd just load a filters object in the frontend and bob's your uncle.

Else you can map query params;
/serilog-ui?from=...&till=...

It'd be nice to be able to link to individual log lines via a trace id or something - but that'd be a second step.
Above should be low-effort.

The FE could also actively set the query params so that sharing would be easy between devs.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

There is no alternative to link to a certain log line or timeframe at this time

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions