Skip to content

Commit 8e4475b

Browse files
authored
Update CLI documentation
1 parent 30ec817 commit 8e4475b

File tree

1 file changed

+27
-24
lines changed

1 file changed

+27
-24
lines changed

README.md

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ $user = "admin"
4343
$pw = "thepassword"
4444
$token = (
4545
echo $pw |
46-
seqcli apikey create -t CLI --permissions="read,write,setup" --connect-username $user --connect-password-stdin
46+
seqcli apikey create `
47+
-t CLI `
48+
--permissions="read,write,project,organization,system" `
49+
--connect-username $user --connect-password-stdin
4750
)
4851
```
4952

@@ -57,59 +60,59 @@ seqcli <command> [<args>]
5760

5861
Available commands:
5962

60-
- `apikey`
63+
- `apikey`
6164
- [`apikey create`](#apikey-create) &mdash; Create an API key for ingestion.
6265
- [`apikey list`](#apikey-list) &mdash; List available API keys.
6366
- [`apikey remove`](#apikey-remove) &mdash; Remove an API key from the server.
64-
- `app`
67+
- `app`
6568
- [`app define`](#app-define) &mdash; Generate an app definition for a .NET `[SeqApp]` plug-in.
6669
- [`app run`](#app-run) &mdash; Host a .NET `[SeqApp]` plug-in.
67-
- [`config`](#config) &mdash; View and set fields in the `SeqCli.json` file; run with no arguments to list all fields.
68-
- `dashboard`
70+
- [`config`](#config) &mdash; View and set fields in the `SeqCli.json` file; run with no arguments to list all fields.
71+
- `dashboard`
6972
- [`dashboard list`](#dashboard-list) &mdash; List dashboards.
7073
- [`dashboard remove`](#dashboard-remove) &mdash; Remove a dashboard from the server.
7174
- [`dashboard render`](#dashboard-render) &mdash; Produce a CSV or JSON result set from a dashboard chart.
72-
- `feed`
75+
- `feed`
7376
- [`feed create`](#feed-create) &mdash; Create a NuGet feed.
7477
- [`feed list`](#feed-list) &mdash; List NuGet feeds.
7578
- [`feed remove`](#feed-remove) &mdash; Remove a NuGet feed from the server.
76-
- [`help`](#help) &mdash; Show information about available commands.
77-
- [`ingest`](#ingest) &mdash; Send log events from a file or `STDIN`.
78-
- [`license apply`](#license-apply) &mdash; Apply a license to the Seq server.
79-
- [`log`](#log) &mdash; Send a structured log event to the server.
80-
- `node`
79+
- [`help`](#help) &mdash; Show information about available commands.
80+
- [`ingest`](#ingest) &mdash; Send log events from a file or `STDIN`.
81+
- [`license apply`](#license-apply) &mdash; Apply a license to the Seq server.
82+
- [`log`](#log) &mdash; Send a structured log event to the server.
83+
- `node`
8184
- [`node demote`](#node-demote) &mdash; Begin demotion of the current leader node.
8285
- [`node health`](#node-health) &mdash; Probe a Seq node's `/health` endpoint, and print the returned HTTP status code, or 'Unreachable' if the endpoint could not be queried.
8386
- [`node list`](#node-list) &mdash; List nodes in the Seq cluster.
84-
- [`print`](#print) &mdash; Pretty-print events in CLEF/JSON format, from a file or `STDIN`.
85-
- `profile`
87+
- [`print`](#print) &mdash; Pretty-print events in CLEF/JSON format, from a file or `STDIN`.
88+
- `profile`
8689
- [`profile create`](#profile-create) &mdash; Create or replace a connection profile.
8790
- [`profile list`](#profile-list) &mdash; List connection profiles.
8891
- [`profile remove`](#profile-remove) &mdash; Remove a connection profile.
89-
- [`query`](#query) &mdash; Execute an SQL query and receive results in CSV format.
90-
- `retention`
92+
- [`query`](#query) &mdash; Execute an SQL query and receive results in CSV format.
93+
- `retention`
9194
- [`retention create`](#retention-create) &mdash; Create a retention policy.
9295
- [`retention list`](#retention-list) &mdash; List retention policies.
9396
- [`retention remove`](#retention-remove) &mdash; Remove a retention policy from the server.
94-
- `sample`
97+
- `sample`
9598
- [`sample ingest`](#sample-ingest) &mdash; Log sample events into a Seq instance.
9699
- [`sample setup`](#sample-setup) &mdash; Configure a Seq instance with sample dashboards, signals, users, and so on.
97-
- [`search`](#search) &mdash; Retrieve log events that match a given filter.
98-
- `signal`
100+
- [`search`](#search) &mdash; Retrieve log events that match a given filter.
101+
- `signal`
99102
- [`signal create`](#signal-create) &mdash; Create a signal.
100103
- [`signal import`](#signal-import) &mdash; Import signals in newline-delimited JSON format.
101104
- [`signal list`](#signal-list) &mdash; List available signals.
102105
- [`signal remove`](#signal-remove) &mdash; Remove a signal from the server.
103-
- [`tail`](#tail) &mdash; Stream log events matching a filter.
104-
- `template`
106+
- [`tail`](#tail) &mdash; Stream log events matching a filter.
107+
- `template`
105108
- [`template export`](#template-export) &mdash; Export entities into template files.
106109
- [`template import`](#template-import) &mdash; Import entities from template files.
107-
- `user`
110+
- `user`
108111
- [`user create`](#user-create) &mdash; Create a user.
109112
- [`user list`](#user-list) &mdash; List users.
110113
- [`user remove`](#user-remove) &mdash; Remove a user from the server.
111-
- [`version`](#version) &mdash; Print the current executable version.
112-
- `workspace`
114+
- [`version`](#version) &mdash; Print the current executable version.
115+
- `workspace`
113116
- [`workspace create`](#workspace-create) &mdash; Create a workspace.
114117
- [`workspace list`](#workspace-list) &mdash; List available workspaces.
115118
- [`workspace remove`](#workspace-remove) &mdash; Remove a workspace from the server.
@@ -680,6 +683,7 @@ seqcli search -f "@Exception like '%TimeoutException%'" -c 30
680683
| `--json` | Print output in newline-delimited JSON (the default is plain text) |
681684
| `--no-color` | Don't colorize text output |
682685
| `--signal=VALUE` | A signal expression or list of intersected signal ids to apply, for example `signal-1,signal-2` |
686+
| `--request-timeout=VALUE` | The time allowed for retrieving each page of events, in milliseconds; the default is 100000 |
683687
| `-s`, `--server=VALUE` | The URL of the Seq server; by default the `connection.serverUrl` config value will be used |
684688
| `-a`, `--apikey=VALUE` | The API key to use when connecting to the server; by default the `connection.apiKey` config value will be used |
685689
| `--profile=VALUE` | A connection profile to use; by default the `connection.serverUrl` and `connection.apiKey` config values will be used |
@@ -950,7 +954,6 @@ seqcli workspace remove -t 'My Workspace'
950954
| `-a`, `--apikey=VALUE` | The API key to use when connecting to the server; by default the `connection.apiKey` config value will be used |
951955
| `--profile=VALUE` | A connection profile to use; by default the `connection.serverUrl` and `connection.apiKey` config values will be used |
952956

953-
954957
## Extraction patterns
955958

956959
The `seqcli ingest` command can be used for parsing plain text logs into structured log events.

0 commit comments

Comments
 (0)