You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/vlogscli/main.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ var (
39
39
projectID=flag.Int("projectID", 0, "Project ID to query; see https://docs.victoriametrics.com/victorialogs/#multitenancy")
40
40
41
41
username=flag.String("username", "", "Optional basic auth username to use for the -datasource.url")
42
-
password=flagutil.NewPassword("password", "Optional basic auth password to use for the -datsource.url")
42
+
password=flagutil.NewPassword("password", "Optional basic auth password to use for the -datasource.url")
43
43
bearerToken=flagutil.NewPassword("bearerToken", "Optional bearer auth token to use for the -datasource.url")
44
44
45
45
tlsCAFile=flag.String("tlsCAFile", "", "Optional path to TLS CA file to use for verifying connections to the -datasource.url. By default, system CA is used")
Copy file name to clipboardExpand all lines: docs/victorialogs/FAQ.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,6 @@ VictoriaLogs is optimized specifically for logs. So it provides the following fe
45
45
- Fast full-text search over all the [log fields](https://docs.victoriametrics.com/victorialogs/keyconcepts/#data-model) out of the box.
46
46
- Good integration with traditional command-line tools for log analysis. See [these docs](https://docs.victoriametrics.com/victorialogs/querying/#command-line).
47
47
48
-
49
48
## What is the difference between VictoriaLogs and Grafana Loki?
50
49
51
50
Both Grafana Loki and VictoriaLogs are designed for log management and processing.
@@ -77,7 +76,6 @@ VictoriaLogs and Grafana Loki have the following differences:
77
76
78
77
See [this article](https://itnext.io/why-victorialogs-is-a-better-alternative-to-grafana-loki-7e941567c4d5) for more details.
79
78
80
-
81
79
## What is the difference between VictoriaLogs and ClickHouse?
82
80
83
81
ClickHouse is an extremely fast and efficient analytical database. It can be used for logs storage, analysis and processing.
@@ -108,7 +106,6 @@ VictoriaLogs is designed solely for logs. VictoriaLogs uses [similar design idea
108
106
109
107
- VictoriaLogs provides [built-in Web UI](https://docs.victoriametrics.com/victorialogs/querying/#web-ui) for logs' exploration.
110
108
111
-
112
109
## How does VictoriaLogs work?
113
110
114
111
VictoriaLogs accepts logs as [JSON entries](https://docs.victoriametrics.com/victorialogs/keyconcepts/#data-model).
- It selects top 3 log streams with the biggest number of logs during the last hour with the following subquery:
322
+
325
323
```logsql
326
324
_time:1h | top 3 (_stream_id) | keep _stream_id
327
325
```
326
+
328
327
This subquery uses [`top`](https://docs.victoriametrics.com/victorialogs/logsql/#top-pipe) and [`keep`](https://docs.victoriametrics.com/victorialogs/logsql/#fields-pipe) pipes.
329
328
330
329
- Then it selects all the logs across the selected log streams over the last hour with the help of [`_stream_id:...` filter](https://docs.victoriametrics.com/victorialogs/logsql/#_stream_id-filter).
331
330
332
-
333
331
## How to estimate the needed compute resources for the given workload?
334
332
335
333
The needed storage space depends on the following factors:
0 commit comments