maton slack search messages

Search messages across channels

maton slack search messages <query> [flags]

Options

--connection <string>
Connection ID to route through (Maton-Connection header)
--count <int> (default 20)
Results per page
--dry-run
Print the request that would be sent without executing it
--format <string>
Output format: 'json' (default) or 'text' on supported commands
-q, --jq <expression>
Filter JSON output using a jq expression
--page <int> (default 1)
Page number
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--sort <string> (default "timestamp")
Sort by: score or timestamp
--sort-dir <string> (default "desc")
Sort direction: asc or desc
--template <string>
Format JSON output using a Go template; see "maton help formatting"

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

Examples

$ maton slack search messages 'deploy failed'
$ maton slack search messages 'incident' --sort score --count 50

See also