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 d4a6ae5 commit 891a8f9Copy full SHA for 891a8f9
imageroot/bin/cloud-log-manager-forwarder
@@ -76,7 +76,7 @@ logs_list = []
76
while True:
77
try:
78
# LogCLI command
79
- logcli_command = ["logcli", "query", "--limit", "0", "--forward", "--timezone", "UTC", "--from", last_timestamp, "--no-labels", "-q", "-o", "jsonl",
+ logcli_command = ["logcli", "query", "--limit", "2000", "--forward", "--timezone", "UTC", "--from", last_timestamp, "--no-labels", "-q", "-o", "jsonl",
80
'{node_id=~".+"} | json identifier="SYSLOG_IDENTIFIER", priority="PRIORITY", message="MESSAGE" | line_format "<{{.priority}}> [{{.node_id}}:{{.module_id}}:{{.identifier}}]: {{.message}}"']
81
response = subprocess.run(logcli_command, capture_output=True, text=True, timeout=300)
82
0 commit comments