Skip to content

Commit

Permalink
Fix quickwit endpoint to retrieve index configs from index patterns.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmassot committed Feb 20, 2024
1 parent b290b5f commit dd95279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/quickwit/timestamp_infos.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func GetTimestampFieldFromIndex(index string, qwickwitUrl string, cli *http.Clie
}

func GetTimestampFieldFromIndexPattern(indexPattern string, qwickwitUrl string, cli *http.Client) (string, error) {
mappingEndpointUrl := qwickwitUrl + "/indexes?index_id_pattern=" + indexPattern
mappingEndpointUrl := qwickwitUrl + "/indexes?index_id_patterns=" + indexPattern
qwlog.Debug("Calling quickwit endpoint: " + mappingEndpointUrl)
r, err := cli.Get(mappingEndpointUrl)
if err != nil {
Expand Down

0 comments on commit dd95279

Please sign in to comment.