- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for ResolveIndex (0.05 seconds)
-
internal/event/target/elasticsearch.go
func (c *esClientV7) isAtleastV7() bool { return true } // createIndex - creates the index if it does not exist. func (c *esClientV7) createIndex(args ElasticsearchArgs) error { res, err := c.Indices.ResolveIndex([]string{args.Index}) if err != nil { return err } defer res.Body.Close() var v map[string]any found := false if err := json.NewDecoder(res.Body).Decode(&v); err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15K bytes - Click Count (0)