logsql

package
v0.8.0-victorialogs Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldNamesResponse

func FieldNamesResponse(names []string) string

func FieldValuesResponse

func FieldValuesResponse(values []string) string

func HitsSeries

func HitsSeries(m map[string]*hitsSeries) string

func JSONRow

func JSONRow(columns []logstorage.BlockColumn, rowIdx int) string

func JSONRows

func JSONRows(rows [][]logstorage.Field) string

func LabelsForHits

func LabelsForHits(columns []logstorage.BlockColumn, rowIdx int) string

func ProcessFieldNamesRequest

func ProcessFieldNamesRequest(ctx context.Context, w http.ResponseWriter, r *http.Request)

ProcessFieldNamesRequest handles /select/logsql/field_names request.

See https://docs.victoriametrics.com/victorialogs/querying/#querying-field-names

func ProcessFieldValuesRequest

func ProcessFieldValuesRequest(ctx context.Context, w http.ResponseWriter, r *http.Request)

ProcessFieldValuesRequest handles /select/logsql/field_values request.

See https://docs.victoriametrics.com/victorialogs/querying/#querying-field-values

func ProcessHitsRequest

func ProcessHitsRequest(ctx context.Context, w http.ResponseWriter, r *http.Request)

ProcessHitsRequest handles /select/logsql/hits request.

See https://docs.victoriametrics.com/victorialogs/querying/#querying-hits-stats

func ProcessQueryRequest

func ProcessQueryRequest(ctx context.Context, w http.ResponseWriter, r *http.Request)

ProcessQueryRequest handles /select/logsql/query request.

See https://docs.victoriametrics.com/victorialogs/querying/#http-api

func StreamFieldNamesResponse

func StreamFieldNamesResponse(qw422016 *qt422016.Writer, names []string)

func StreamFieldValuesResponse

func StreamFieldValuesResponse(qw422016 *qt422016.Writer, values []string)

func StreamHitsSeries

func StreamHitsSeries(qw422016 *qt422016.Writer, m map[string]*hitsSeries)

func StreamJSONRow

func StreamJSONRow(qw422016 *qt422016.Writer, columns []logstorage.BlockColumn, rowIdx int)

func StreamJSONRows

func StreamJSONRows(qw422016 *qt422016.Writer, rows [][]logstorage.Field)

func StreamLabelsForHits

func StreamLabelsForHits(qw422016 *qt422016.Writer, columns []logstorage.BlockColumn, rowIdx int)

func WriteFieldNamesResponse

func WriteFieldNamesResponse(qq422016 qtio422016.Writer, names []string)

func WriteFieldValuesResponse

func WriteFieldValuesResponse(qq422016 qtio422016.Writer, values []string)

func WriteHitsSeries

func WriteHitsSeries(qq422016 qtio422016.Writer, m map[string]*hitsSeries)

func WriteJSONRow

func WriteJSONRow(qq422016 qtio422016.Writer, columns []logstorage.BlockColumn, rowIdx int)

func WriteJSONRows

func WriteJSONRows(qq422016 qtio422016.Writer, rows [][]logstorage.Field)

func WriteLabelsForHits

func WriteLabelsForHits(qq422016 qtio422016.Writer, columns []logstorage.BlockColumn, rowIdx int)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL