We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 562f25b commit e3aece6Copy full SHA for e3aece6
olli/api.py
@@ -31,7 +31,7 @@ def get_token_logs(self, token: TokenConfig) -> dict[str, Any]:
31
case_filter = "(?i)" if not token.case_sensitive else ""
32
33
resp = httpx.get(self.route("query_range"), params={
34
- "query": f'{{job=~"({job_regex})"}} |~ "{case_filter}{token.token}"',
+ "query": f'{{service_name=~"({job_regex})-.+"}} |~ "{case_filter}{token.token}"',
35
"start": f"{start_ts:0.0f}",
36
"limit": LOKI_CONFIG.max_logs,
37
})
0 commit comments