Documentation
¶
Overview ¶
Copyright © 2026 Thomas von Dein
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2026 Thomas von Dein ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- Constants
- Variables
- func ApiList(conf *cfg.Config, pattern string) error
- func ApiPathNames() []string
- func ApiRepl(conf *cfg.Config) error
- func ApiShow(conf *cfg.Config, showpath, verb string) error
- func CallAPI(conf *cfg.Config, verb, path, data string) ([]byte, error)
- func CcrFollowerAdd(conf *cfg.Config, index string) error
- func CcrFollowerPause(conf *cfg.Config, index string) error
- func CcrFollowerRenew(conf *cfg.Config, index string) error
- func CcrFollowerResume(conf *cfg.Config, index string) error
- func CcrFollowerShow(conf *cfg.Config, index string) error
- func CcrFollowerUnfollow(conf *cfg.Config, index string) error
- func CcrRemoteInfo(conf *cfg.Config, index string) error
- func CcrShardPause(conf *cfg.Config) error
- func CcrShardResume(conf *cfg.Config) error
- func CcrStatus(conf *cfg.Config, leader, follower string) error
- func ClusterList(conf *cfg.Config) error
- func ClusterRerouteAllocatePrimary(conf *cfg.Config, index string, stale bool) error
- func ClusterRerouteAllocateReplica(conf *cfg.Config, index string) error
- func ClusterRerouteCancel(conf *cfg.Config, index string) error
- func ClusterRerouteMove(conf *cfg.Config, index string) error
- func ClusterSettingsList(conf *cfg.Config) error
- func ClusterSettingsNames(conf *cfg.Config) ([]string, error)
- func ClusterSettingsSet(conf *cfg.Config, args cli.Args) error
- func ClusterSettingsSetSingle(conf *cfg.Config, setting, value string) error
- func ClusterStatus(conf *cfg.Config) error
- func DatastreamCreate(conf *cfg.Config, dsname string) error
- func DatastreamDelete(conf *cfg.Config, dsname string) error
- func DatastreamList(conf *cfg.Config) error
- func DatastreamNames(conf *cfg.Config) ([]string, error)
- func DatastreamRollover(conf *cfg.Config, ds string) error
- func DatastreamShow(conf *cfg.Config, dsname string) error
- func Debug(conf *cfg.Config) error
- func DocAdd(conf *cfg.Config, jsondoc string) error
- func DocDelete(conf *cfg.Config, queries []string) error
- func DocShow(conf *cfg.Config, id string) error
- func IlmCreate(conf *cfg.Config, policyname string) error
- func IlmExplain(conf *cfg.Config, index string) error
- func IlmForecastList(conf *cfg.Config, filter string) error
- func IlmForecastShow(conf *cfg.Config) error
- func IlmList(conf *cfg.Config, pattern string) error
- func IlmNames(conf *cfg.Config) ([]string, error)
- func IlmRetry(conf *cfg.Config, index string) error
- func IlmShow(conf *cfg.Config, policy string) error
- func IlmShowTree(conf *cfg.Config, ilm types.IlmPolicy) error
- func IlmStatus(conf *cfg.Config) error
- func IndexAliasCreate(conf *cfg.Config, index, alias string) error
- func IndexAliasDelete(conf *cfg.Config, index, alias string) error
- func IndexAliasList(conf *cfg.Config) error
- func IndexAliasRollover(conf *cfg.Config, alias string) error
- func IndexClose(conf *cfg.Config, index string) error
- func IndexCopy(conf *cfg.Config) error
- func IndexCreate(conf *cfg.Config, index string, mappings []string) error
- func IndexDelete(conf *cfg.Config, index string) error
- func IndexDiskusage(conf *cfg.Config, index string) error
- func IndexFields(conf *cfg.Config, index string) error
- func IndexList(conf *cfg.Config) error
- func IndexNames(conf *cfg.Config) ([]string, error)
- func IndexShow(conf *cfg.Config, indexpattern string) error
- func IndexTemplateCreate(conf *cfg.Config, name string, mappings []string) error
- func IndexTemplateDelete(conf *cfg.Config, name string) error
- func IndexTemplateList(conf *cfg.Config, filter string) error
- func IndexTemplateModify(conf *cfg.Config, name string, mappings []string) error
- func IndexTemplateNames(conf *cfg.Config) ([]string, error)
- func IndexTemplateShow(conf *cfg.Config, tplname string) error
- func LicenseShow(conf *cfg.Config) error
- func NewFilter(query string) (*filter, error)
- func NodeClients(conf *cfg.Config, nodename string) error
- func NodeList(conf *cfg.Config) error
- func NodeNames(conf *cfg.Config) ([]string, error)
- func NodeShow(conf *cfg.Config, nodename string) error
- func NodeUsage(conf *cfg.Config, nodeid string) error
- func RoleDiff(conf *cfg.Config, csvfile, role string) error
- func RoleDiffSingle(conf *cfg.Config, csvfile, rolename string) error
- func RoleList(conf *cfg.Config) error
- func RoleNames(conf *cfg.Config) ([]string, error)
- func RoleShow(conf *cfg.Config, rolename string) error
- func RolloverAlias(conf *cfg.Config, alias string) (*rollover.Response, error)
- func RolloverConditions(conf *cfg.Config) types.RolloverConditionsVariant
- func Search(conf *cfg.Config, queries []string) error
- func SearchQL(conf *cfg.Config, querystring string) error
- func ShardAllocation(conf *cfg.Config, index string) error
- func ShardList(conf *cfg.Config) error
- func ShardShow(conf *cfg.Config, index string) error
- func SnapshotList(conf *cfg.Config) error
- func SnapshotShow(conf *cfg.Config, snapshot string) error
- func TaskCancel(conf *cfg.Config, taskid string) error
- func TaskList(conf *cfg.Config) error
- type ClusterIndices
- type Diskusage
- type HealthReport
- type HealthReportDiagnosis
- type HealthReportIndicator
- type IndexDiskUsage
- type NextPhase
- type Op
- type Param
- type Params
- type PhaseData
- type Record
- type Register
- type ResIndexDiskUsage
- type Snapshot
- type Tpl
- type TplTemplate
- type TplTemplateData
- type TplTpl
Constants ¶
const ( ResponseHealth = iota ResponseInfo ResponseCcr ResponseStats ResponseIndices ResponseTasks ResponseExplain ResponseLifecycle ResponseHealthReport )
const ( Rindexname = iota Rrole Rindexprivilege Rclusterprivilege Radgroup Rspace Rretention Rkibanaprivilege Rfieldprivilege )
use static csv record positions as const vars so we can modify it if the csv format ever changes
const ( Fmust = iota Fmustnot Fshould )
const (
DefaultExclude = `(part|monitoring|.internal|metrics-endpoint)`
)
const (
MAXPAGE = 5000
)
Variables ¶
var (
IlmPhaseOrder = []string{"hot", "warm", "cold", "frozen", "delete"}
)
Functions ¶
func CcrShardPause ¶
func CcrShardResume ¶
func ClusterList ¶
func ClusterSettingsList ¶
func ClusterStatus ¶
func DatastreamList ¶
func DocAdd ¶
create index with:
esctl index create foo [id:keyword user:text age:integer]
then add a doc:
esctl doc add foo2 '{"id":"d8d8d","user":"scip"}'
func IlmForecastShow ¶
Loop over all current index phases of the current phase (conf.Ilm.FromPhase). Calculate virtualAge if phase.minsize >0. If the actual age is smaller than the virtual age, use this as a base, otherwise use virtual age. Then look if the rollover would happen within the phase.minage window (conf.Ilm.Within + current age) and add the size.
func IlmShowTree ¶
Visualize phases or a ILM policy, taking into account that the minAge for the current phases is set in the next phase
func IndexAliasCreate ¶
FIXME: add filter support, see IndexCreate mapping
func IndexAliasList ¶
func IndexTemplateCreate ¶
func IndexTemplateModify ¶
FIXME: func's too long, refactor FIXME: it's not yet possible to remove items in lists (aliases, mappings, settings), just overwrite them
func IndexTemplateNames ¶
used for completion
func LicenseShow ¶
func NewFilter ¶
Build a new filter object. We use this to build our elastic query out of it. We support different types of queries:
nop filter: no query at all, just return the first N documents.
simple ones like: "authenticated", which match across all fields
simple ones combined like "authenticated monitoring", if -O was set, apply an OR logic
specific field queries: "message=authenticated" (can be combined too like above)
and specific field queries with negation: "message!=authenticated"
All queries support additional filters using -F field=value, which must match literally, and range filters using -r "@timestamp:2026-05-28T10:00:00 to now"
func NodeShow ¶
FIXME: adding the settings metric leads to json unmarshall error: https://github.com/elastic/go-elasticsearch/issues/1524
func RolloverConditions ¶
func RolloverConditions(conf *cfg.Config) types.RolloverConditionsVariant
func Search ¶
Execute an ES search.
q is the actual search query given as arg to the 'search' cmd additional filters can be given as -F key=value
func SnapshotList ¶
Types ¶
type ClusterIndices ¶
type ClusterIndices map[string]map[string]*types.IndicesRecord
type HealthReport ¶
type HealthReport struct {
Indicators map[string]HealthReportIndicator
}
type HealthReportDiagnosis ¶
type HealthReportIndicator ¶
type HealthReportIndicator struct {
Status, Symptom string
Diagnosis []HealthReportDiagnosis
}
type IndexDiskUsage ¶
type ResIndexDiskUsage ¶
type ResIndexDiskUsage map[string]IndexDiskUsage
type TplTemplate ¶
type TplTemplate struct {
Template TplTemplateData `json:"template"`
}
type TplTemplateData ¶
type TplTpl ¶
type TplTpl struct {
IndexTemplate TplTemplate `json:"index_template"`
}
Source Files
¶
- api.go
- ccr.go
- ccr_follower.go
- cluser_health_report.go
- cluster.go
- cluster_reroute.go
- cluster_settings.go
- cluster_settings_const.go
- cluster_util.go
- datastream.go
- debug.go
- doc.go
- duration.go
- errors.go
- ilm.go
- ilm_forecast.go
- index.go
- index_alias.go
- index_copy.go
- index_template.go
- index_template_settings.go
- license.go
- node.go
- parallel.go
- role.go
- role_diff.go
- rollover.go
- search.go
- search_filter.go
- searchql.go
- shard.go
- snapshot.go
- task.go