Uses of Class
codes.grow.packages.betterstack.SearchLogsOptions
Packages that use SearchLogsOptions
-
Uses of SearchLogsOptions in codes.grow.packages.betterstack
Methods in codes.grow.packages.betterstack that return SearchLogsOptionsModifier and TypeMethodDescriptionSearchLogsOptions.Builder.build()Builds the options.static SearchLogsOptionsSearchLogsOptions.defaults()Defaults: the configured source table, no text filter, the last 24 h, 100 records, newest first.Methods in codes.grow.packages.betterstack with parameters of type SearchLogsOptionsModifier and TypeMethodDescriptionBetterStackQuery.renderSearchSql(SearchLogsOptions options) Renders the SQL ofBetterStackQuery.searchLogs(codes.grow.packages.betterstack.SearchLogsOptions): hotremote(<source>_logs)UNION ALL colds3Cluster(primary, <source>_s3) WHERE _row_type = 1, the inclusivedtwindow (toDateTime64('…', 6, 'UTC')),position(raw, <JSON-escaped contains>) > 0,ORDER BY dt,LIMIT <limit + 1>(to detect a next page) and the cursor'sOFFSET,FORMAT JSONEachRow.BetterStackQuery.searchLogs(SearchLogsOptions options) Searches the hot and cold logs of a collection (seeBetterStackQuery.renderSearchSql(codes.grow.packages.betterstack.SearchLogsOptions)) with an inclusive time window and a literal substring match, newest first by default.BetterStackQuery.searchLogsAsync(SearchLogsOptions options) AsynchronousBetterStackQuery.searchLogs(SearchLogsOptions).