Skip to content

last pipe doesn't work with vmalert #1296

@Sleuth56

Description

@Sleuth56

Describe the bug

When using the last pipe in vmalert no data is returned.

To Reproduce

Use the following logsql query in a vmalert rule. This query works just fine in VMUI/Grafana but returns no data in vmalert. This is likely do to the start and end fields in vmalert's queries.
* | last 1

Version

logs: 1.148.0
vmalert: v1.139.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneed more infoWaiting for more information from the reporter.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions