forked from signalfx/splunk-otel-go
/
tokenize.go
1222 lines (1202 loc) · 95.9 KB
/
tokenize.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright Splunk Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package splunkelastic
import (
"regexp"
"sort"
"strings"
)
// Developer note: both path and operations are generated from the script in
// the internal package. To update, refer to ./internal/main.go.
// Generated from the Elasticsearch Request & Response Specification
// Version: main (hash: 657290b)
// https://github.com/elastic/elasticsearch-specification/blob/60aa3a276e4c617ca7944816a6b4979c2384c675/output/schema/schema.json
var paths = []string{
"/",
"/_alias",
"/_alias/{name}",
"/_aliases",
"/_analyze",
"/_async_search",
"/_async_search/status/{id}",
"/_async_search/{id}",
"/_bulk",
"/_cache/clear",
"/_cat",
"/_cat/aliases",
"/_cat/aliases/{name}",
"/_cat/allocation",
"/_cat/allocation/{node_id}",
"/_cat/count",
"/_cat/count/{index}",
"/_cat/fielddata",
"/_cat/fielddata/{fields}",
"/_cat/health",
"/_cat/indices",
"/_cat/indices/{index}",
"/_cat/master",
"/_cat/ml/anomaly_detectors",
"/_cat/ml/anomaly_detectors/{job_id}",
"/_cat/ml/data_frame/analytics",
"/_cat/ml/data_frame/analytics/{id}",
"/_cat/ml/datafeeds",
"/_cat/ml/datafeeds/{datafeed_id}",
"/_cat/ml/trained_models",
"/_cat/ml/trained_models/{model_id}",
"/_cat/nodeattrs",
"/_cat/nodes",
"/_cat/pending_tasks",
"/_cat/plugins",
"/_cat/recovery",
"/_cat/recovery/{index}",
"/_cat/repositories",
"/_cat/segments",
"/_cat/segments/{index}",
"/_cat/shards",
"/_cat/shards/{index}",
"/_cat/snapshots",
"/_cat/snapshots/{repository}",
"/_cat/tasks",
"/_cat/templates",
"/_cat/templates/{name}",
"/_cat/thread_pool",
"/_cat/thread_pool/{thread_pool_patterns}",
"/_cat/transforms",
"/_cat/transforms/{transform_id}",
"/_ccr/auto_follow",
"/_ccr/auto_follow/{name}",
"/_ccr/auto_follow/{name}/pause",
"/_ccr/auto_follow/{name}/resume",
"/_ccr/stats",
"/_cluster/allocation/explain",
"/_cluster/health",
"/_cluster/health/{index}",
"/_cluster/pending_tasks",
"/_cluster/reroute",
"/_cluster/settings",
"/_cluster/state",
"/_cluster/state/{metric}",
"/_cluster/state/{metric}/{index}",
"/_cluster/stats",
"/_cluster/stats/nodes/{node_id}",
"/_cluster/voting_config_exclusions",
"/_component_template",
"/_component_template/{name}",
"/_count",
"/_dangling",
"/_dangling/{index_uuid}",
"/_data_stream",
"/_data_stream/_migrate/{name}",
"/_data_stream/_modify",
"/_data_stream/_promote/{name}",
"/_data_stream/_stats",
"/_data_stream/{name}",
"/_data_stream/{name}/_stats",
"/_delete_by_query/{task_id}/_rethrottle",
"/_enrich/_stats",
"/_enrich/policy",
"/_enrich/policy/{name}",
"/_enrich/policy/{name}/_execute",
"/_eql/search/status/{id}",
"/_eql/search/{id}",
"/_features",
"/_features/_reset",
"/_field_caps",
"/_fleet/_fleet_msearch",
"/_flush",
"/_forcemerge",
"/_ilm/migrate_to_data_tiers",
"/_ilm/move/{index}",
"/_ilm/policy",
"/_ilm/policy/{policy}",
"/_ilm/start",
"/_ilm/status",
"/_ilm/stop",
"/_index_template",
"/_index_template/_simulate",
"/_index_template/_simulate/{name}",
"/_index_template/_simulate_index/{name}",
"/_index_template/{name}",
"/_ingest/geoip/stats",
"/_ingest/pipeline",
"/_ingest/pipeline/_simulate",
"/_ingest/pipeline/{id}",
"/_ingest/pipeline/{id}/_simulate",
"/_ingest/processor/grok",
"/_license",
"/_license/basic_status",
"/_license/start_basic",
"/_license/start_trial",
"/_license/trial_status",
"/_logstash/pipeline/{id}",
"/_mapping",
"/_mapping/field/{fields}",
"/_mget",
"/_migration/deprecations",
"/_migration/system_features",
"/_ml/_delete_expired_data",
"/_ml/_delete_expired_data/{job_id}",
"/_ml/anomaly_detectors",
"/_ml/anomaly_detectors/_estimate_model_memory",
"/_ml/anomaly_detectors/_stats",
"/_ml/anomaly_detectors/{job_id}",
"/_ml/anomaly_detectors/{job_id}/_close",
"/_ml/anomaly_detectors/{job_id}/_data",
"/_ml/anomaly_detectors/{job_id}/_flush",
"/_ml/anomaly_detectors/{job_id}/_forecast",
"/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}",
"/_ml/anomaly_detectors/{job_id}/_open",
"/_ml/anomaly_detectors/{job_id}/_reset",
"/_ml/anomaly_detectors/{job_id}/_stats",
"/_ml/anomaly_detectors/{job_id}/_update",
"/_ml/anomaly_detectors/{job_id}/model_snapshots",
"/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}",
"/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert",
"/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update",
"/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade",
"/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats",
"/_ml/anomaly_detectors/{job_id}/results/buckets",
"/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}",
"/_ml/anomaly_detectors/{job_id}/results/categories/",
"/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}",
"/_ml/anomaly_detectors/{job_id}/results/influencers",
"/_ml/anomaly_detectors/{job_id}/results/overall_buckets",
"/_ml/anomaly_detectors/{job_id}/results/records",
"/_ml/calendars",
"/_ml/calendars/{calendar_id}",
"/_ml/calendars/{calendar_id}/events",
"/_ml/calendars/{calendar_id}/events/{event_id}",
"/_ml/calendars/{calendar_id}/jobs/{job_id}",
"/_ml/data_frame/_evaluate",
"/_ml/data_frame/analytics",
"/_ml/data_frame/analytics/_explain",
"/_ml/data_frame/analytics/_preview",
"/_ml/data_frame/analytics/_stats",
"/_ml/data_frame/analytics/{id}",
"/_ml/data_frame/analytics/{id}/_explain",
"/_ml/data_frame/analytics/{id}/_preview",
"/_ml/data_frame/analytics/{id}/_start",
"/_ml/data_frame/analytics/{id}/_stats",
"/_ml/data_frame/analytics/{id}/_stop",
"/_ml/data_frame/analytics/{id}/_update",
"/_ml/datafeeds",
"/_ml/datafeeds/_preview",
"/_ml/datafeeds/_stats",
"/_ml/datafeeds/{datafeed_id}",
"/_ml/datafeeds/{datafeed_id}/_preview",
"/_ml/datafeeds/{datafeed_id}/_start",
"/_ml/datafeeds/{datafeed_id}/_stats",
"/_ml/datafeeds/{datafeed_id}/_stop",
"/_ml/datafeeds/{datafeed_id}/_update",
"/_ml/filters",
"/_ml/filters/{filter_id}",
"/_ml/filters/{filter_id}/_update",
"/_ml/info",
"/_ml/set_upgrade_mode",
"/_ml/trained_models",
"/_ml/trained_models/_stats",
"/_ml/trained_models/{model_id}",
"/_ml/trained_models/{model_id}/_stats",
"/_ml/trained_models/{model_id}/definition/{part}",
"/_ml/trained_models/{model_id}/deployment/_infer",
"/_ml/trained_models/{model_id}/deployment/_start",
"/_ml/trained_models/{model_id}/deployment/_stop",
"/_ml/trained_models/{model_id}/model_aliases/{model_alias}",
"/_ml/trained_models/{model_id}/vocabulary",
"/_msearch",
"/_msearch/template",
"/_mtermvectors",
"/_nodes",
"/_nodes/hot_threads",
"/_nodes/reload_secure_settings",
"/_nodes/stats",
"/_nodes/stats/{metric}",
"/_nodes/stats/{metric}/{index_metric}",
"/_nodes/usage",
"/_nodes/usage/{metric}",
"/_nodes/{metric}",
"/_nodes/{node_id}",
"/_nodes/{node_id}/_repositories_metering",
"/_nodes/{node_id}/_repositories_metering/{max_archive_version}",
"/_nodes/{node_id}/hot_threads",
"/_nodes/{node_id}/reload_secure_settings",
"/_nodes/{node_id}/stats",
"/_nodes/{node_id}/stats/{metric}",
"/_nodes/{node_id}/stats/{metric}/{index_metric}",
"/_nodes/{node_id}/usage",
"/_nodes/{node_id}/usage/{metric}",
"/_nodes/{node_id}/{metric}",
"/_pit",
"/_rank_eval",
"/_recovery",
"/_refresh",
"/_reindex",
"/_reindex/{task_id}/_rethrottle",
"/_remote/info",
"/_render/template",
"/_render/template/{id}",
"/_resolve/index/{name}",
"/_rollup/data/",
"/_rollup/data/{id}",
"/_rollup/job/",
"/_rollup/job/{id}",
"/_rollup/job/{id}/_start",
"/_rollup/job/{id}/_stop",
"/_script_context",
"/_script_language",
"/_scripts/painless/_execute",
"/_scripts/{id}",
"/_scripts/{id}/{context}",
"/_search",
"/_search/scroll",
"/_search/scroll/{scroll_id}",
"/_search/template",
"/_search_shards",
"/_searchable_snapshots/cache/clear",
"/_searchable_snapshots/cache/stats",
"/_searchable_snapshots/stats",
"/_searchable_snapshots/{node_id}/cache/stats",
"/_security/_authenticate",
"/_security/_query/api_key",
"/_security/api_key",
"/_security/api_key/grant",
"/_security/api_key/{ids}/_clear_cache",
"/_security/enroll/kibana",
"/_security/enroll/node",
"/_security/oauth2/token",
"/_security/privilege",
"/_security/privilege/",
"/_security/privilege/_builtin",
"/_security/privilege/{application}",
"/_security/privilege/{application}/_clear_cache",
"/_security/privilege/{application}/{name}",
"/_security/realm/{realms}/_clear_cache",
"/_security/role",
"/_security/role/{name}",
"/_security/role/{name}/_clear_cache",
"/_security/role_mapping",
"/_security/role_mapping/{name}",
"/_security/saml/authenticate",
"/_security/saml/complete_logout",
"/_security/saml/invalidate",
"/_security/saml/logout",
"/_security/saml/metadata/{realm_name}",
"/_security/saml/prepare",
"/_security/service",
"/_security/service/{namespace}",
"/_security/service/{namespace}/{service}",
"/_security/service/{namespace}/{service}/credential",
"/_security/service/{namespace}/{service}/credential/token",
"/_security/service/{namespace}/{service}/credential/token/{name}",
"/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache",
"/_security/user",
"/_security/user/_has_privileges",
"/_security/user/_password",
"/_security/user/_privileges",
"/_security/user/{username}",
"/_security/user/{username}/_disable",
"/_security/user/{username}/_enable",
"/_security/user/{username}/_password",
"/_security/user/{user}/_has_privileges",
"/_segments",
"/_settings",
"/_settings/{name}",
"/_shard_stores",
"/_slm/_execute_retention",
"/_slm/policy",
"/_slm/policy/{policy_id}",
"/_slm/policy/{policy_id}/_execute",
"/_slm/start",
"/_slm/stats",
"/_slm/status",
"/_slm/stop",
"/_snapshot",
"/_snapshot/_status",
"/_snapshot/{repository}",
"/_snapshot/{repository}/_analyze",
"/_snapshot/{repository}/_cleanup",
"/_snapshot/{repository}/_status",
"/_snapshot/{repository}/_verify",
"/_snapshot/{repository}/{snapshot}",
"/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}",
"/_snapshot/{repository}/{snapshot}/_mount",
"/_snapshot/{repository}/{snapshot}/_restore",
"/_snapshot/{repository}/{snapshot}/_status",
"/_sql",
"/_sql/async/delete/{id}",
"/_sql/async/status/{id}",
"/_sql/async/{id}",
"/_sql/close",
"/_sql/translate",
"/_ssl/certificates",
"/_stats",
"/_stats/{metric}",
"/_tasks",
"/_tasks/_cancel",
"/_tasks/{task_id}",
"/_tasks/{task_id}/_cancel",
"/_template",
"/_template/{name}",
"/_text_structure/find_structure",
"/_transform",
"/_transform/_preview",
"/_transform/_upgrade",
"/_transform/{transform_id}",
"/_transform/{transform_id}/_preview",
"/_transform/{transform_id}/_reset",
"/_transform/{transform_id}/_start",
"/_transform/{transform_id}/_stats",
"/_transform/{transform_id}/_stop",
"/_transform/{transform_id}/_update",
"/_update_by_query/{task_id}/_rethrottle",
"/_validate/query",
"/_watcher/_query/watches",
"/_watcher/_start",
"/_watcher/_stop",
"/_watcher/stats",
"/_watcher/stats/{metric}",
"/_watcher/watch/_execute",
"/_watcher/watch/{id}",
"/_watcher/watch/{id}/_execute",
"/_watcher/watch/{watch_id}/_ack",
"/_watcher/watch/{watch_id}/_ack/{action_id}",
"/_watcher/watch/{watch_id}/_activate",
"/_watcher/watch/{watch_id}/_deactivate",
"/_xpack",
"/_xpack/usage",
"/{alias}/_rollover",
"/{alias}/_rollover/{new_index}",
"/{index}",
"/{index}/_alias",
"/{index}/_alias/{name}",
"/{index}/_aliases/{name}",
"/{index}/_analyze",
"/{index}/_async_search",
"/{index}/_block/{block}",
"/{index}/_bulk",
"/{index}/_cache/clear",
"/{index}/_ccr/follow",
"/{index}/_ccr/forget_follower",
"/{index}/_ccr/info",
"/{index}/_ccr/pause_follow",
"/{index}/_ccr/resume_follow",
"/{index}/_ccr/stats",
"/{index}/_ccr/unfollow",
"/{index}/_clone/{target}",
"/{index}/_close",
"/{index}/_count",
"/{index}/_create/{id}",
"/{index}/_delete_by_query",
"/{index}/_disk_usage",
"/{index}/_doc",
"/{index}/_doc/{id}",
"/{index}/_eql/search",
"/{index}/_explain/{id}",
"/{index}/_field_caps",
"/{index}/_field_usage_stats",
"/{index}/_fleet/_fleet_msearch",
"/{index}/_fleet/_fleet_search",
"/{index}/_fleet/global_checkpoints",
"/{index}/_flush",
"/{index}/_forcemerge",
"/{index}/_graph/explore",
"/{index}/_ilm/explain",
"/{index}/_ilm/remove",
"/{index}/_ilm/retry",
"/{index}/_knn_search",
"/{index}/_mapping",
"/{index}/_mapping/field/{fields}",
"/{index}/_mget",
"/{index}/_migration/deprecations",
"/{index}/_msearch",
"/{index}/_msearch/template",
"/{index}/_mtermvectors",
"/{index}/_mvt/{field}/{zoom}/{x}/{y}",
"/{index}/_open",
"/{index}/_pit",
"/{index}/_rank_eval",
"/{index}/_recovery",
"/{index}/_refresh",
"/{index}/_reload_search_analyzers",
"/{index}/_rollup/data",
"/{index}/_rollup/{rollup_index}",
"/{index}/_rollup_search",
"/{index}/_search",
"/{index}/_search/template",
"/{index}/_search_shards",
"/{index}/_searchable_snapshots/cache/clear",
"/{index}/_searchable_snapshots/stats",
"/{index}/_segments",
"/{index}/_settings",
"/{index}/_settings/{name}",
"/{index}/_shard_stores",
"/{index}/_shrink/{target}",
"/{index}/_source/{id}",
"/{index}/_split/{target}",
"/{index}/_stats",
"/{index}/_stats/{metric}",
"/{index}/_terms_enum",
"/{index}/_termvectors",
"/{index}/_termvectors/{id}",
"/{index}/_unfreeze",
"/{index}/_update/{id}",
"/{index}/_update_by_query",
"/{index}/_validate/query",
}
type url struct {
method, path string
}
// Generated from the Elasticsearch Request & Response Specification
// Version: main (hash: 657290b)
// https://github.com/elastic/elasticsearch-specification/blob/60aa3a276e4c617ca7944816a6b4979c2384c675/output/schema/schema.json
var operations = map[url]string{
{path: "/", method: "GET"}: "info",
{path: "/", method: "HEAD"}: "ping",
{path: "/_alias", method: "GET"}: "indices.get_alias",
{path: "/_alias/{name}", method: "GET"}: "indices.get_alias",
{path: "/_alias/{name}", method: "HEAD"}: "indices.exists_alias",
{path: "/_aliases", method: "POST"}: "indices.update_aliases",
{path: "/_analyze", method: "GET"}: "indices.analyze",
{path: "/_analyze", method: "POST"}: "indices.analyze",
{path: "/_async_search", method: "POST"}: "async_search.submit",
{path: "/_async_search/status/{id}", method: "GET"}: "async_search.status",
{path: "/_async_search/{id}", method: "DELETE"}: "async_search.delete",
{path: "/_async_search/{id}", method: "GET"}: "async_search.get",
{path: "/_bulk", method: "POST"}: "bulk",
{path: "/_bulk", method: "PUT"}: "bulk",
{path: "/_cache/clear", method: "POST"}: "indices.clear_cache",
{path: "/_cat", method: "GET"}: "cat.help",
{path: "/_cat/aliases", method: "GET"}: "cat.aliases",
{path: "/_cat/aliases/{name}", method: "GET"}: "cat.aliases",
{path: "/_cat/allocation", method: "GET"}: "cat.allocation",
{path: "/_cat/allocation/{node_id}", method: "GET"}: "cat.allocation",
{path: "/_cat/count", method: "GET"}: "cat.count",
{path: "/_cat/count/{index}", method: "GET"}: "cat.count",
{path: "/_cat/fielddata", method: "GET"}: "cat.fielddata",
{path: "/_cat/fielddata/{fields}", method: "GET"}: "cat.fielddata",
{path: "/_cat/health", method: "GET"}: "cat.health",
{path: "/_cat/indices", method: "GET"}: "cat.indices",
{path: "/_cat/indices/{index}", method: "GET"}: "cat.indices",
{path: "/_cat/master", method: "GET"}: "cat.master",
{path: "/_cat/ml/anomaly_detectors", method: "GET"}: "cat.ml_jobs",
{path: "/_cat/ml/anomaly_detectors/{job_id}", method: "GET"}: "cat.ml_jobs",
{path: "/_cat/ml/data_frame/analytics", method: "GET"}: "cat.ml_data_frame_analytics",
{path: "/_cat/ml/data_frame/analytics/{id}", method: "GET"}: "cat.ml_data_frame_analytics",
{path: "/_cat/ml/datafeeds", method: "GET"}: "cat.ml_datafeeds",
{path: "/_cat/ml/datafeeds/{datafeed_id}", method: "GET"}: "cat.ml_datafeeds",
{path: "/_cat/ml/trained_models", method: "GET"}: "cat.ml_trained_models",
{path: "/_cat/ml/trained_models/{model_id}", method: "GET"}: "cat.ml_trained_models",
{path: "/_cat/nodeattrs", method: "GET"}: "cat.nodeattrs",
{path: "/_cat/nodes", method: "GET"}: "cat.nodes",
{path: "/_cat/pending_tasks", method: "GET"}: "cat.pending_tasks",
{path: "/_cat/plugins", method: "GET"}: "cat.plugins",
{path: "/_cat/recovery", method: "GET"}: "cat.recovery",
{path: "/_cat/recovery/{index}", method: "GET"}: "cat.recovery",
{path: "/_cat/repositories", method: "GET"}: "cat.repositories",
{path: "/_cat/segments", method: "GET"}: "cat.segments",
{path: "/_cat/segments/{index}", method: "GET"}: "cat.segments",
{path: "/_cat/shards", method: "GET"}: "cat.shards",
{path: "/_cat/shards/{index}", method: "GET"}: "cat.shards",
{path: "/_cat/snapshots", method: "GET"}: "cat.snapshots",
{path: "/_cat/snapshots/{repository}", method: "GET"}: "cat.snapshots",
{path: "/_cat/tasks", method: "GET"}: "cat.tasks",
{path: "/_cat/templates", method: "GET"}: "cat.templates",
{path: "/_cat/templates/{name}", method: "GET"}: "cat.templates",
{path: "/_cat/thread_pool", method: "GET"}: "cat.thread_pool",
{path: "/_cat/thread_pool/{thread_pool_patterns}", method: "GET"}: "cat.thread_pool",
{path: "/_cat/transforms", method: "GET"}: "cat.transforms",
{path: "/_cat/transforms/{transform_id}", method: "GET"}: "cat.transforms",
{path: "/_ccr/auto_follow", method: "GET"}: "ccr.get_auto_follow_pattern",
{path: "/_ccr/auto_follow/{name}", method: "DELETE"}: "ccr.delete_auto_follow_pattern",
{path: "/_ccr/auto_follow/{name}", method: "GET"}: "ccr.get_auto_follow_pattern",
{path: "/_ccr/auto_follow/{name}", method: "PUT"}: "ccr.put_auto_follow_pattern",
{path: "/_ccr/auto_follow/{name}/pause", method: "POST"}: "ccr.pause_auto_follow_pattern",
{path: "/_ccr/auto_follow/{name}/resume", method: "POST"}: "ccr.resume_auto_follow_pattern",
{path: "/_ccr/stats", method: "GET"}: "ccr.stats",
{path: "/_cluster/allocation/explain", method: "GET"}: "cluster.allocation_explain",
{path: "/_cluster/allocation/explain", method: "POST"}: "cluster.allocation_explain",
{path: "/_cluster/health", method: "GET"}: "cluster.health",
{path: "/_cluster/health/{index}", method: "GET"}: "cluster.health",
{path: "/_cluster/pending_tasks", method: "GET"}: "cluster.pending_tasks",
{path: "/_cluster/reroute", method: "POST"}: "cluster.reroute",
{path: "/_cluster/settings", method: "GET"}: "cluster.get_settings",
{path: "/_cluster/settings", method: "PUT"}: "cluster.put_settings",
{path: "/_cluster/state", method: "GET"}: "cluster.state",
{path: "/_cluster/state/{metric}", method: "GET"}: "cluster.state",
{path: "/_cluster/state/{metric}/{index}", method: "GET"}: "cluster.state",
{path: "/_cluster/stats", method: "GET"}: "cluster.stats",
{path: "/_cluster/stats/nodes/{node_id}", method: "GET"}: "cluster.stats",
{path: "/_cluster/voting_config_exclusions", method: "DELETE"}: "cluster.delete_voting_config_exclusions",
{path: "/_cluster/voting_config_exclusions", method: "POST"}: "cluster.post_voting_config_exclusions",
{path: "/_component_template", method: "GET"}: "cluster.get_component_template",
{path: "/_component_template/{name}", method: "DELETE"}: "cluster.delete_component_template",
{path: "/_component_template/{name}", method: "GET"}: "cluster.get_component_template",
{path: "/_component_template/{name}", method: "HEAD"}: "cluster.exists_component_template",
{path: "/_component_template/{name}", method: "POST"}: "cluster.put_component_template",
{path: "/_component_template/{name}", method: "PUT"}: "cluster.put_component_template",
{path: "/_count", method: "GET"}: "count",
{path: "/_count", method: "POST"}: "count",
{path: "/_dangling", method: "GET"}: "dangling_indices.list_dangling_indices",
{path: "/_dangling/{index_uuid}", method: "DELETE"}: "dangling_indices.delete_dangling_index",
{path: "/_dangling/{index_uuid}", method: "POST"}: "dangling_indices.import_dangling_index",
{path: "/_data_stream", method: "GET"}: "indices.get_data_stream",
{path: "/_data_stream/_migrate/{name}", method: "POST"}: "indices.migrate_to_data_stream",
{path: "/_data_stream/_modify", method: "POST"}: "indices.modify_data_stream",
{path: "/_data_stream/_promote/{name}", method: "POST"}: "indices.promote_data_stream",
{path: "/_data_stream/_stats", method: "GET"}: "indices.data_streams_stats",
{path: "/_data_stream/{name}", method: "DELETE"}: "indices.delete_data_stream",
{path: "/_data_stream/{name}", method: "GET"}: "indices.get_data_stream",
{path: "/_data_stream/{name}", method: "PUT"}: "indices.create_data_stream",
{path: "/_data_stream/{name}/_stats", method: "GET"}: "indices.data_streams_stats",
{path: "/_delete_by_query/{task_id}/_rethrottle", method: "POST"}: "delete_by_query_rethrottle",
{path: "/_enrich/_stats", method: "GET"}: "enrich.stats",
{path: "/_enrich/policy", method: "GET"}: "enrich.get_policy",
{path: "/_enrich/policy/{name}", method: "DELETE"}: "enrich.delete_policy",
{path: "/_enrich/policy/{name}", method: "GET"}: "enrich.get_policy",
{path: "/_enrich/policy/{name}", method: "PUT"}: "enrich.put_policy",
{path: "/_enrich/policy/{name}/_execute", method: "PUT"}: "enrich.execute_policy",
{path: "/_eql/search/status/{id}", method: "GET"}: "eql.get_status",
{path: "/_eql/search/{id}", method: "DELETE"}: "eql.delete",
{path: "/_eql/search/{id}", method: "GET"}: "eql.get",
{path: "/_features", method: "GET"}: "features.get_features",
{path: "/_features/_reset", method: "POST"}: "features.reset_features",
{path: "/_field_caps", method: "GET"}: "field_caps",
{path: "/_field_caps", method: "POST"}: "field_caps",
{path: "/_fleet/_fleet_msearch", method: "GET"}: "fleet.msearch",
{path: "/_fleet/_fleet_msearch", method: "POST"}: "fleet.msearch",
{path: "/_flush", method: "GET"}: "indices.flush",
{path: "/_flush", method: "POST"}: "indices.flush",
{path: "/_forcemerge", method: "POST"}: "indices.forcemerge",
{path: "/_ilm/migrate_to_data_tiers", method: "POST"}: "ilm.migrate_to_data_tiers",
{path: "/_ilm/move/{index}", method: "POST"}: "ilm.move_to_step",
{path: "/_ilm/policy", method: "GET"}: "ilm.get_lifecycle",
{path: "/_ilm/policy/{policy}", method: "DELETE"}: "ilm.delete_lifecycle",
{path: "/_ilm/policy/{policy}", method: "GET"}: "ilm.get_lifecycle",
{path: "/_ilm/policy/{policy}", method: "PUT"}: "ilm.put_lifecycle",
{path: "/_ilm/start", method: "POST"}: "ilm.start",
{path: "/_ilm/status", method: "GET"}: "ilm.get_status",
{path: "/_ilm/stop", method: "POST"}: "ilm.stop",
{path: "/_index_template", method: "GET"}: "indices.get_index_template",
{path: "/_index_template/_simulate", method: "POST"}: "indices.simulate_template",
{path: "/_index_template/_simulate/{name}", method: "POST"}: "indices.simulate_template",
{path: "/_index_template/_simulate_index/{name}", method: "POST"}: "indices.simulate_index_template",
{path: "/_index_template/{name}", method: "DELETE"}: "indices.delete_index_template",
{path: "/_index_template/{name}", method: "GET"}: "indices.get_index_template",
{path: "/_index_template/{name}", method: "HEAD"}: "indices.exists_index_template",
{path: "/_index_template/{name}", method: "POST"}: "indices.put_index_template",
{path: "/_index_template/{name}", method: "PUT"}: "indices.put_index_template",
{path: "/_ingest/geoip/stats", method: "GET"}: "ingest.geo_ip_stats",
{path: "/_ingest/pipeline", method: "GET"}: "ingest.get_pipeline",
{path: "/_ingest/pipeline/_simulate", method: "GET"}: "ingest.simulate",
{path: "/_ingest/pipeline/_simulate", method: "POST"}: "ingest.simulate",
{path: "/_ingest/pipeline/{id}", method: "DELETE"}: "ingest.delete_pipeline",
{path: "/_ingest/pipeline/{id}", method: "GET"}: "ingest.get_pipeline",
{path: "/_ingest/pipeline/{id}", method: "PUT"}: "ingest.put_pipeline",
{path: "/_ingest/pipeline/{id}/_simulate", method: "GET"}: "ingest.simulate",
{path: "/_ingest/pipeline/{id}/_simulate", method: "POST"}: "ingest.simulate",
{path: "/_ingest/processor/grok", method: "GET"}: "ingest.processor_grok",
{path: "/_license", method: "DELETE"}: "license.delete",
{path: "/_license", method: "GET"}: "license.get",
{path: "/_license", method: "POST"}: "license.post",
{path: "/_license", method: "PUT"}: "license.post",
{path: "/_license/basic_status", method: "GET"}: "license.get_basic_status",
{path: "/_license/start_basic", method: "POST"}: "license.post_start_basic",
{path: "/_license/start_trial", method: "POST"}: "license.post_start_trial",
{path: "/_license/trial_status", method: "GET"}: "license.get_trial_status",
{path: "/_logstash/pipeline/{id}", method: "DELETE"}: "logstash.delete_pipeline",
{path: "/_logstash/pipeline/{id}", method: "GET"}: "logstash.get_pipeline",
{path: "/_logstash/pipeline/{id}", method: "PUT"}: "logstash.put_pipeline",
{path: "/_mapping", method: "GET"}: "indices.get_mapping",
{path: "/_mapping/field/{fields}", method: "GET"}: "indices.get_field_mapping",
{path: "/_mget", method: "GET"}: "mget",
{path: "/_mget", method: "POST"}: "mget",
{path: "/_migration/deprecations", method: "GET"}: "migration.deprecations",
{path: "/_migration/system_features", method: "GET"}: "migration.get_feature_upgrade_status",
{path: "/_migration/system_features", method: "POST"}: "migration.post_feature_upgrade",
{path: "/_ml/_delete_expired_data", method: "DELETE"}: "ml.delete_expired_data",
{path: "/_ml/_delete_expired_data/{job_id}", method: "DELETE"}: "ml.delete_expired_data",
{path: "/_ml/anomaly_detectors", method: "GET"}: "ml.get_jobs",
{path: "/_ml/anomaly_detectors/_estimate_model_memory", method: "POST"}: "ml.estimate_model_memory",
{path: "/_ml/anomaly_detectors/_stats", method: "GET"}: "ml.get_job_stats",
{path: "/_ml/anomaly_detectors/{job_id}", method: "DELETE"}: "ml.delete_job",
{path: "/_ml/anomaly_detectors/{job_id}", method: "GET"}: "ml.get_jobs",
{path: "/_ml/anomaly_detectors/{job_id}", method: "PUT"}: "ml.put_job",
{path: "/_ml/anomaly_detectors/{job_id}/_close", method: "POST"}: "ml.close_job",
{path: "/_ml/anomaly_detectors/{job_id}/_data", method: "POST"}: "ml.post_data",
{path: "/_ml/anomaly_detectors/{job_id}/_flush", method: "POST"}: "ml.flush_job",
{path: "/_ml/anomaly_detectors/{job_id}/_forecast", method: "DELETE"}: "ml.delete_forecast",
{path: "/_ml/anomaly_detectors/{job_id}/_forecast", method: "POST"}: "ml.forecast",
{path: "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}", method: "DELETE"}: "ml.delete_forecast",
{path: "/_ml/anomaly_detectors/{job_id}/_open", method: "POST"}: "ml.open_job",
{path: "/_ml/anomaly_detectors/{job_id}/_reset", method: "POST"}: "ml.reset_job",
{path: "/_ml/anomaly_detectors/{job_id}/_stats", method: "GET"}: "ml.get_job_stats",
{path: "/_ml/anomaly_detectors/{job_id}/_update", method: "POST"}: "ml.update_job",
{path: "/_ml/anomaly_detectors/{job_id}/model_snapshots", method: "GET"}: "ml.get_model_snapshots",
{path: "/_ml/anomaly_detectors/{job_id}/model_snapshots", method: "POST"}: "ml.get_model_snapshots",
{path: "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", method: "DELETE"}: "ml.delete_model_snapshot",
{path: "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", method: "GET"}: "ml.get_model_snapshots",
{path: "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", method: "POST"}: "ml.get_model_snapshots",
{path: "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert", method: "POST"}: "ml.revert_model_snapshot",
{path: "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update", method: "POST"}: "ml.update_model_snapshot",
{path: "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade", method: "POST"}: "ml.upgrade_job_snapshot",
{path: "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats", method: "GET"}: "ml.get_model_snapshot_upgrade_stats",
{path: "/_ml/anomaly_detectors/{job_id}/results/buckets", method: "GET"}: "ml.get_buckets",
{path: "/_ml/anomaly_detectors/{job_id}/results/buckets", method: "POST"}: "ml.get_buckets",
{path: "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", method: "GET"}: "ml.get_buckets",
{path: "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", method: "POST"}: "ml.get_buckets",
{path: "/_ml/anomaly_detectors/{job_id}/results/categories/", method: "GET"}: "ml.get_categories",
{path: "/_ml/anomaly_detectors/{job_id}/results/categories/", method: "POST"}: "ml.get_categories",
{path: "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}", method: "GET"}: "ml.get_categories",
{path: "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}", method: "POST"}: "ml.get_categories",
{path: "/_ml/anomaly_detectors/{job_id}/results/influencers", method: "GET"}: "ml.get_influencers",
{path: "/_ml/anomaly_detectors/{job_id}/results/influencers", method: "POST"}: "ml.get_influencers",
{path: "/_ml/anomaly_detectors/{job_id}/results/overall_buckets", method: "GET"}: "ml.get_overall_buckets",
{path: "/_ml/anomaly_detectors/{job_id}/results/overall_buckets", method: "POST"}: "ml.get_overall_buckets",
{path: "/_ml/anomaly_detectors/{job_id}/results/records", method: "GET"}: "ml.get_records",
{path: "/_ml/anomaly_detectors/{job_id}/results/records", method: "POST"}: "ml.get_records",
{path: "/_ml/calendars", method: "GET"}: "ml.get_calendars",
{path: "/_ml/calendars", method: "POST"}: "ml.get_calendars",
{path: "/_ml/calendars/{calendar_id}", method: "DELETE"}: "ml.delete_calendar",
{path: "/_ml/calendars/{calendar_id}", method: "GET"}: "ml.get_calendars",
{path: "/_ml/calendars/{calendar_id}", method: "POST"}: "ml.get_calendars",
{path: "/_ml/calendars/{calendar_id}", method: "PUT"}: "ml.put_calendar",
{path: "/_ml/calendars/{calendar_id}/events", method: "GET"}: "ml.get_calendar_events",
{path: "/_ml/calendars/{calendar_id}/events", method: "POST"}: "ml.post_calendar_events",
{path: "/_ml/calendars/{calendar_id}/events/{event_id}", method: "DELETE"}: "ml.delete_calendar_event",
{path: "/_ml/calendars/{calendar_id}/jobs/{job_id}", method: "DELETE"}: "ml.delete_calendar_job",
{path: "/_ml/calendars/{calendar_id}/jobs/{job_id}", method: "PUT"}: "ml.put_calendar_job",
{path: "/_ml/data_frame/_evaluate", method: "POST"}: "ml.evaluate_data_frame",
{path: "/_ml/data_frame/analytics", method: "GET"}: "ml.get_data_frame_analytics",
{path: "/_ml/data_frame/analytics/_explain", method: "GET"}: "ml.explain_data_frame_analytics",
{path: "/_ml/data_frame/analytics/_explain", method: "POST"}: "ml.explain_data_frame_analytics",
{path: "/_ml/data_frame/analytics/_preview", method: "GET"}: "ml.preview_data_frame_analytics",
{path: "/_ml/data_frame/analytics/_preview", method: "POST"}: "ml.preview_data_frame_analytics",
{path: "/_ml/data_frame/analytics/_stats", method: "GET"}: "ml.get_data_frame_analytics_stats",
{path: "/_ml/data_frame/analytics/{id}", method: "DELETE"}: "ml.delete_data_frame_analytics",
{path: "/_ml/data_frame/analytics/{id}", method: "GET"}: "ml.get_data_frame_analytics",
{path: "/_ml/data_frame/analytics/{id}", method: "PUT"}: "ml.put_data_frame_analytics",
{path: "/_ml/data_frame/analytics/{id}/_explain", method: "GET"}: "ml.explain_data_frame_analytics",
{path: "/_ml/data_frame/analytics/{id}/_explain", method: "POST"}: "ml.explain_data_frame_analytics",
{path: "/_ml/data_frame/analytics/{id}/_preview", method: "GET"}: "ml.preview_data_frame_analytics",
{path: "/_ml/data_frame/analytics/{id}/_preview", method: "POST"}: "ml.preview_data_frame_analytics",
{path: "/_ml/data_frame/analytics/{id}/_start", method: "POST"}: "ml.start_data_frame_analytics",
{path: "/_ml/data_frame/analytics/{id}/_stats", method: "GET"}: "ml.get_data_frame_analytics_stats",
{path: "/_ml/data_frame/analytics/{id}/_stop", method: "POST"}: "ml.stop_data_frame_analytics",
{path: "/_ml/data_frame/analytics/{id}/_update", method: "POST"}: "ml.update_data_frame_analytics",
{path: "/_ml/datafeeds", method: "GET"}: "ml.get_datafeeds",
{path: "/_ml/datafeeds/_preview", method: "GET"}: "ml.preview_datafeed",
{path: "/_ml/datafeeds/_preview", method: "POST"}: "ml.preview_datafeed",
{path: "/_ml/datafeeds/_stats", method: "GET"}: "ml.get_datafeed_stats",
{path: "/_ml/datafeeds/{datafeed_id}", method: "DELETE"}: "ml.delete_datafeed",
{path: "/_ml/datafeeds/{datafeed_id}", method: "GET"}: "ml.get_datafeeds",
{path: "/_ml/datafeeds/{datafeed_id}", method: "PUT"}: "ml.put_datafeed",
{path: "/_ml/datafeeds/{datafeed_id}/_preview", method: "GET"}: "ml.preview_datafeed",
{path: "/_ml/datafeeds/{datafeed_id}/_preview", method: "POST"}: "ml.preview_datafeed",
{path: "/_ml/datafeeds/{datafeed_id}/_start", method: "POST"}: "ml.start_datafeed",
{path: "/_ml/datafeeds/{datafeed_id}/_stats", method: "GET"}: "ml.get_datafeed_stats",
{path: "/_ml/datafeeds/{datafeed_id}/_stop", method: "POST"}: "ml.stop_datafeed",
{path: "/_ml/datafeeds/{datafeed_id}/_update", method: "POST"}: "ml.update_datafeed",
{path: "/_ml/filters", method: "GET"}: "ml.get_filters",
{path: "/_ml/filters/{filter_id}", method: "DELETE"}: "ml.delete_filter",
{path: "/_ml/filters/{filter_id}", method: "GET"}: "ml.get_filters",
{path: "/_ml/filters/{filter_id}", method: "PUT"}: "ml.put_filter",
{path: "/_ml/filters/{filter_id}/_update", method: "POST"}: "ml.update_filter",
{path: "/_ml/info", method: "GET"}: "ml.info",
{path: "/_ml/set_upgrade_mode", method: "POST"}: "ml.set_upgrade_mode",
{path: "/_ml/trained_models", method: "GET"}: "ml.get_trained_models",
{path: "/_ml/trained_models/_stats", method: "GET"}: "ml.get_trained_models_stats",
{path: "/_ml/trained_models/{model_id}", method: "DELETE"}: "ml.delete_trained_model",
{path: "/_ml/trained_models/{model_id}", method: "GET"}: "ml.get_trained_models",
{path: "/_ml/trained_models/{model_id}", method: "PUT"}: "ml.put_trained_model",
{path: "/_ml/trained_models/{model_id}/_stats", method: "GET"}: "ml.get_trained_models_stats",
{path: "/_ml/trained_models/{model_id}/definition/{part}", method: "PUT"}: "ml.put_trained_model_definition_part",
{path: "/_ml/trained_models/{model_id}/deployment/_infer", method: "POST"}: "ml.infer_trained_model_deployment",
{path: "/_ml/trained_models/{model_id}/deployment/_start", method: "POST"}: "ml.start_trained_model_deployment",
{path: "/_ml/trained_models/{model_id}/deployment/_stop", method: "POST"}: "ml.stop_trained_model_deployment",
{path: "/_ml/trained_models/{model_id}/model_aliases/{model_alias}", method: "DELETE"}: "ml.delete_trained_model_alias",
{path: "/_ml/trained_models/{model_id}/model_aliases/{model_alias}", method: "PUT"}: "ml.put_trained_model_alias",
{path: "/_ml/trained_models/{model_id}/vocabulary", method: "PUT"}: "ml.put_trained_model_vocabulary",
{path: "/_msearch", method: "GET"}: "msearch",
{path: "/_msearch", method: "POST"}: "msearch",
{path: "/_msearch/template", method: "GET"}: "msearch_template",
{path: "/_msearch/template", method: "POST"}: "msearch_template",
{path: "/_mtermvectors", method: "GET"}: "mtermvectors",
{path: "/_mtermvectors", method: "POST"}: "mtermvectors",
{path: "/_nodes", method: "GET"}: "nodes.info",
{path: "/_nodes/hot_threads", method: "GET"}: "nodes.hot_threads",
{path: "/_nodes/reload_secure_settings", method: "POST"}: "nodes.reload_secure_settings",
{path: "/_nodes/stats", method: "GET"}: "nodes.stats",
{path: "/_nodes/stats/{metric}", method: "GET"}: "nodes.stats",
{path: "/_nodes/stats/{metric}/{index_metric}", method: "GET"}: "nodes.stats",
{path: "/_nodes/usage", method: "GET"}: "nodes.usage",
{path: "/_nodes/usage/{metric}", method: "GET"}: "nodes.usage",
{path: "/_nodes/{metric}", method: "GET"}: "nodes.info",
{path: "/_nodes/{node_id}", method: "GET"}: "nodes.info",
{path: "/_nodes/{node_id}/_repositories_metering", method: "GET"}: "nodes.get_repositories_metering_info",
{path: "/_nodes/{node_id}/_repositories_metering/{max_archive_version}", method: "DELETE"}: "nodes.clear_repositories_metering_archive",
{path: "/_nodes/{node_id}/hot_threads", method: "GET"}: "nodes.hot_threads",
{path: "/_nodes/{node_id}/reload_secure_settings", method: "POST"}: "nodes.reload_secure_settings",
{path: "/_nodes/{node_id}/stats", method: "GET"}: "nodes.stats",
{path: "/_nodes/{node_id}/stats/{metric}", method: "GET"}: "nodes.stats",
{path: "/_nodes/{node_id}/stats/{metric}/{index_metric}", method: "GET"}: "nodes.stats",
{path: "/_nodes/{node_id}/usage", method: "GET"}: "nodes.usage",
{path: "/_nodes/{node_id}/usage/{metric}", method: "GET"}: "nodes.usage",
{path: "/_nodes/{node_id}/{metric}", method: "GET"}: "nodes.info",
{path: "/_pit", method: "DELETE"}: "close_point_in_time",
{path: "/_rank_eval", method: "GET"}: "rank_eval",
{path: "/_rank_eval", method: "POST"}: "rank_eval",
{path: "/_recovery", method: "GET"}: "indices.recovery",
{path: "/_refresh", method: "GET"}: "indices.refresh",
{path: "/_refresh", method: "POST"}: "indices.refresh",
{path: "/_reindex", method: "POST"}: "reindex",
{path: "/_reindex/{task_id}/_rethrottle", method: "POST"}: "reindex_rethrottle",
{path: "/_remote/info", method: "GET"}: "cluster.remote_info",
{path: "/_render/template", method: "GET"}: "render_search_template",
{path: "/_render/template", method: "POST"}: "render_search_template",
{path: "/_render/template/{id}", method: "GET"}: "render_search_template",
{path: "/_render/template/{id}", method: "POST"}: "render_search_template",
{path: "/_resolve/index/{name}", method: "GET"}: "indices.resolve_index",
{path: "/_rollup/data/", method: "GET"}: "rollup.get_rollup_caps",
{path: "/_rollup/data/{id}", method: "GET"}: "rollup.get_rollup_caps",
{path: "/_rollup/job/", method: "GET"}: "rollup.get_jobs",
{path: "/_rollup/job/{id}", method: "DELETE"}: "rollup.delete_job",
{path: "/_rollup/job/{id}", method: "GET"}: "rollup.get_jobs",
{path: "/_rollup/job/{id}", method: "PUT"}: "rollup.put_job",
{path: "/_rollup/job/{id}/_start", method: "POST"}: "rollup.start_job",
{path: "/_rollup/job/{id}/_stop", method: "POST"}: "rollup.stop_job",
{path: "/_script_context", method: "GET"}: "get_script_context",
{path: "/_script_language", method: "GET"}: "get_script_languages",
{path: "/_scripts/painless/_execute", method: "GET"}: "scripts_painless_execute",
{path: "/_scripts/painless/_execute", method: "POST"}: "scripts_painless_execute",
{path: "/_scripts/{id}", method: "DELETE"}: "delete_script",
{path: "/_scripts/{id}", method: "GET"}: "get_script",
{path: "/_scripts/{id}", method: "POST"}: "put_script",
{path: "/_scripts/{id}", method: "PUT"}: "put_script",
{path: "/_scripts/{id}/{context}", method: "POST"}: "put_script",
{path: "/_scripts/{id}/{context}", method: "PUT"}: "put_script",
{path: "/_search", method: "GET"}: "search",
{path: "/_search", method: "POST"}: "search",
{path: "/_search/scroll", method: "DELETE"}: "clear_scroll",
{path: "/_search/scroll", method: "GET"}: "scroll",
{path: "/_search/scroll", method: "POST"}: "scroll",
{path: "/_search/scroll/{scroll_id}", method: "DELETE"}: "clear_scroll",
{path: "/_search/scroll/{scroll_id}", method: "GET"}: "scroll",
{path: "/_search/scroll/{scroll_id}", method: "POST"}: "scroll",
{path: "/_search/template", method: "GET"}: "search_template",
{path: "/_search/template", method: "POST"}: "search_template",
{path: "/_search_shards", method: "GET"}: "search_shards",
{path: "/_search_shards", method: "POST"}: "search_shards",
{path: "/_searchable_snapshots/cache/clear", method: "POST"}: "searchable_snapshots.clear_cache",
{path: "/_searchable_snapshots/cache/stats", method: "GET"}: "searchable_snapshots.cache_stats",
{path: "/_searchable_snapshots/stats", method: "GET"}: "searchable_snapshots.stats",
{path: "/_searchable_snapshots/{node_id}/cache/stats", method: "GET"}: "searchable_snapshots.cache_stats",
{path: "/_security/_authenticate", method: "GET"}: "security.authenticate",
{path: "/_security/_query/api_key", method: "GET"}: "security.query_api_keys",
{path: "/_security/_query/api_key", method: "POST"}: "security.query_api_keys",
{path: "/_security/api_key", method: "DELETE"}: "security.invalidate_api_key",
{path: "/_security/api_key", method: "GET"}: "security.get_api_key",
{path: "/_security/api_key", method: "POST"}: "security.create_api_key",
{path: "/_security/api_key", method: "PUT"}: "security.create_api_key",
{path: "/_security/api_key/grant", method: "POST"}: "security.grant_api_key",
{path: "/_security/api_key/{ids}/_clear_cache", method: "POST"}: "security.clear_api_key_cache",
{path: "/_security/enroll/kibana", method: "GET"}: "security.enroll_kibana",
{path: "/_security/enroll/node", method: "GET"}: "security.enroll_node",
{path: "/_security/oauth2/token", method: "DELETE"}: "security.invalidate_token",
{path: "/_security/oauth2/token", method: "POST"}: "security.get_token",
{path: "/_security/privilege", method: "GET"}: "security.get_privileges",
{path: "/_security/privilege/", method: "POST"}: "security.put_privileges",
{path: "/_security/privilege/", method: "PUT"}: "security.put_privileges",
{path: "/_security/privilege/_builtin", method: "GET"}: "security.get_builtin_privileges",
{path: "/_security/privilege/{application}", method: "GET"}: "security.get_privileges",
{path: "/_security/privilege/{application}/_clear_cache", method: "POST"}: "security.clear_cached_privileges",
{path: "/_security/privilege/{application}/{name}", method: "DELETE"}: "security.delete_privileges",
{path: "/_security/privilege/{application}/{name}", method: "GET"}: "security.get_privileges",
{path: "/_security/realm/{realms}/_clear_cache", method: "POST"}: "security.clear_cached_realms",
{path: "/_security/role", method: "GET"}: "security.get_role",
{path: "/_security/role/{name}", method: "DELETE"}: "security.delete_role",
{path: "/_security/role/{name}", method: "GET"}: "security.get_role",
{path: "/_security/role/{name}", method: "POST"}: "security.put_role",
{path: "/_security/role/{name}", method: "PUT"}: "security.put_role",
{path: "/_security/role/{name}/_clear_cache", method: "POST"}: "security.clear_cached_roles",
{path: "/_security/role_mapping", method: "GET"}: "security.get_role_mapping",
{path: "/_security/role_mapping/{name}", method: "DELETE"}: "security.delete_role_mapping",
{path: "/_security/role_mapping/{name}", method: "GET"}: "security.get_role_mapping",
{path: "/_security/role_mapping/{name}", method: "POST"}: "security.put_role_mapping",
{path: "/_security/role_mapping/{name}", method: "PUT"}: "security.put_role_mapping",
{path: "/_security/saml/authenticate", method: "POST"}: "security.saml_authenticate",
{path: "/_security/saml/complete_logout", method: "POST"}: "security.saml_complete_logout",
{path: "/_security/saml/invalidate", method: "POST"}: "security.saml_invalidate",
{path: "/_security/saml/logout", method: "POST"}: "security.saml_logout",
{path: "/_security/saml/metadata/{realm_name}", method: "GET"}: "security.saml_service_provider_metadata",
{path: "/_security/saml/prepare", method: "POST"}: "security.saml_prepare_authentication",
{path: "/_security/service", method: "GET"}: "security.get_service_accounts",
{path: "/_security/service/{namespace}", method: "GET"}: "security.get_service_accounts",
{path: "/_security/service/{namespace}/{service}", method: "GET"}: "security.get_service_accounts",
{path: "/_security/service/{namespace}/{service}/credential", method: "GET"}: "security.get_service_credentials",
{path: "/_security/service/{namespace}/{service}/credential/token", method: "POST"}: "security.create_service_token",
{path: "/_security/service/{namespace}/{service}/credential/token/{name}", method: "DELETE"}: "security.delete_service_token",
{path: "/_security/service/{namespace}/{service}/credential/token/{name}", method: "POST"}: "security.create_service_token",
{path: "/_security/service/{namespace}/{service}/credential/token/{name}", method: "PUT"}: "security.create_service_token",
{path: "/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache", method: "POST"}: "security.clear_cached_service_tokens",
{path: "/_security/user", method: "GET"}: "security.get_user",
{path: "/_security/user/_has_privileges", method: "GET"}: "security.has_privileges",
{path: "/_security/user/_has_privileges", method: "POST"}: "security.has_privileges",
{path: "/_security/user/_password", method: "POST"}: "security.change_password",
{path: "/_security/user/_password", method: "PUT"}: "security.change_password",
{path: "/_security/user/_privileges", method: "GET"}: "security.get_user_privileges",
{path: "/_security/user/{username}", method: "DELETE"}: "security.delete_user",
{path: "/_security/user/{username}", method: "GET"}: "security.get_user",
{path: "/_security/user/{username}", method: "POST"}: "security.put_user",
{path: "/_security/user/{username}", method: "PUT"}: "security.put_user",
{path: "/_security/user/{username}/_disable", method: "POST"}: "security.disable_user",
{path: "/_security/user/{username}/_disable", method: "PUT"}: "security.disable_user",
{path: "/_security/user/{username}/_enable", method: "POST"}: "security.enable_user",
{path: "/_security/user/{username}/_enable", method: "PUT"}: "security.enable_user",
{path: "/_security/user/{username}/_password", method: "POST"}: "security.change_password",
{path: "/_security/user/{username}/_password", method: "PUT"}: "security.change_password",
{path: "/_security/user/{user}/_has_privileges", method: "GET"}: "security.has_privileges",
{path: "/_security/user/{user}/_has_privileges", method: "POST"}: "security.has_privileges",
{path: "/_segments", method: "GET"}: "indices.segments",
{path: "/_settings", method: "GET"}: "indices.get_settings",
{path: "/_settings", method: "PUT"}: "indices.put_settings",
{path: "/_settings/{name}", method: "GET"}: "indices.get_settings",
{path: "/_shard_stores", method: "GET"}: "indices.shard_stores",
{path: "/_slm/_execute_retention", method: "POST"}: "slm.execute_retention",
{path: "/_slm/policy", method: "GET"}: "slm.get_lifecycle",
{path: "/_slm/policy/{policy_id}", method: "DELETE"}: "slm.delete_lifecycle",
{path: "/_slm/policy/{policy_id}", method: "GET"}: "slm.get_lifecycle",
{path: "/_slm/policy/{policy_id}", method: "PUT"}: "slm.put_lifecycle",
{path: "/_slm/policy/{policy_id}/_execute", method: "PUT"}: "slm.execute_lifecycle",
{path: "/_slm/start", method: "POST"}: "slm.start",
{path: "/_slm/stats", method: "GET"}: "slm.get_stats",
{path: "/_slm/status", method: "GET"}: "slm.get_status",
{path: "/_slm/stop", method: "POST"}: "slm.stop",
{path: "/_snapshot", method: "GET"}: "snapshot.get_repository",
{path: "/_snapshot/_status", method: "GET"}: "snapshot.status",
{path: "/_snapshot/{repository}", method: "DELETE"}: "snapshot.delete_repository",
{path: "/_snapshot/{repository}", method: "GET"}: "snapshot.get_repository",
{path: "/_snapshot/{repository}", method: "POST"}: "snapshot.create_repository",
{path: "/_snapshot/{repository}", method: "PUT"}: "snapshot.create_repository",
{path: "/_snapshot/{repository}/_analyze", method: "POST"}: "snapshot.repository_analyze",
{path: "/_snapshot/{repository}/_cleanup", method: "POST"}: "snapshot.cleanup_repository",
{path: "/_snapshot/{repository}/_status", method: "GET"}: "snapshot.status",
{path: "/_snapshot/{repository}/_verify", method: "POST"}: "snapshot.verify_repository",
{path: "/_snapshot/{repository}/{snapshot}", method: "DELETE"}: "snapshot.delete",
{path: "/_snapshot/{repository}/{snapshot}", method: "GET"}: "snapshot.get",
{path: "/_snapshot/{repository}/{snapshot}", method: "POST"}: "snapshot.create",
{path: "/_snapshot/{repository}/{snapshot}", method: "PUT"}: "snapshot.create",
{path: "/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}", method: "PUT"}: "snapshot.clone",
{path: "/_snapshot/{repository}/{snapshot}/_mount", method: "POST"}: "searchable_snapshots.mount",
{path: "/_snapshot/{repository}/{snapshot}/_restore", method: "POST"}: "snapshot.restore",
{path: "/_snapshot/{repository}/{snapshot}/_status", method: "GET"}: "snapshot.status",
{path: "/_sql", method: "GET"}: "sql.query",
{path: "/_sql", method: "POST"}: "sql.query",
{path: "/_sql/async/delete/{id}", method: "DELETE"}: "sql.delete_async",
{path: "/_sql/async/status/{id}", method: "GET"}: "sql.get_async_status",
{path: "/_sql/async/{id}", method: "GET"}: "sql.get_async",
{path: "/_sql/close", method: "POST"}: "sql.clear_cursor",
{path: "/_sql/translate", method: "GET"}: "sql.translate",
{path: "/_sql/translate", method: "POST"}: "sql.translate",
{path: "/_ssl/certificates", method: "GET"}: "ssl.certificates",
{path: "/_stats", method: "GET"}: "indices.stats",
{path: "/_stats/{metric}", method: "GET"}: "indices.stats",
{path: "/_tasks", method: "GET"}: "tasks.list",
{path: "/_tasks/_cancel", method: "POST"}: "tasks.cancel",
{path: "/_tasks/{task_id}", method: "GET"}: "tasks.get",
{path: "/_tasks/{task_id}/_cancel", method: "POST"}: "tasks.cancel",
{path: "/_template", method: "GET"}: "indices.get_template",
{path: "/_template/{name}", method: "DELETE"}: "indices.delete_template",
{path: "/_template/{name}", method: "GET"}: "indices.get_template",
{path: "/_template/{name}", method: "HEAD"}: "indices.exists_template",
{path: "/_template/{name}", method: "POST"}: "indices.put_template",
{path: "/_template/{name}", method: "PUT"}: "indices.put_template",
{path: "/_text_structure/find_structure", method: "POST"}: "text_structure.find_structure",
{path: "/_transform", method: "GET"}: "transform.get_transform",
{path: "/_transform/_preview", method: "GET"}: "transform.preview_transform",
{path: "/_transform/_preview", method: "POST"}: "transform.preview_transform",
{path: "/_transform/_upgrade", method: "POST"}: "transform.upgrade_transforms",
{path: "/_transform/{transform_id}", method: "DELETE"}: "transform.delete_transform",
{path: "/_transform/{transform_id}", method: "GET"}: "transform.get_transform",
{path: "/_transform/{transform_id}", method: "PUT"}: "transform.put_transform",
{path: "/_transform/{transform_id}/_preview", method: "GET"}: "transform.preview_transform",
{path: "/_transform/{transform_id}/_preview", method: "POST"}: "transform.preview_transform",
{path: "/_transform/{transform_id}/_reset", method: "POST"}: "transform.reset_transform",
{path: "/_transform/{transform_id}/_start", method: "POST"}: "transform.start_transform",
{path: "/_transform/{transform_id}/_stats", method: "GET"}: "transform.get_transform_stats",
{path: "/_transform/{transform_id}/_stop", method: "POST"}: "transform.stop_transform",
{path: "/_transform/{transform_id}/_update", method: "POST"}: "transform.update_transform",
{path: "/_update_by_query/{task_id}/_rethrottle", method: "POST"}: "update_by_query_rethrottle",
{path: "/_validate/query", method: "GET"}: "indices.validate_query",
{path: "/_validate/query", method: "POST"}: "indices.validate_query",
{path: "/_watcher/_query/watches", method: "GET"}: "watcher.query_watches",
{path: "/_watcher/_query/watches", method: "POST"}: "watcher.query_watches",
{path: "/_watcher/_start", method: "POST"}: "watcher.start",
{path: "/_watcher/_stop", method: "POST"}: "watcher.stop",
{path: "/_watcher/stats", method: "GET"}: "watcher.stats",
{path: "/_watcher/stats/{metric}", method: "GET"}: "watcher.stats",
{path: "/_watcher/watch/_execute", method: "POST"}: "watcher.execute_watch",
{path: "/_watcher/watch/_execute", method: "PUT"}: "watcher.execute_watch",
{path: "/_watcher/watch/{id}", method: "DELETE"}: "watcher.delete_watch",
{path: "/_watcher/watch/{id}", method: "GET"}: "watcher.get_watch",
{path: "/_watcher/watch/{id}", method: "POST"}: "watcher.put_watch",
{path: "/_watcher/watch/{id}", method: "PUT"}: "watcher.put_watch",
{path: "/_watcher/watch/{id}/_execute", method: "POST"}: "watcher.execute_watch",
{path: "/_watcher/watch/{id}/_execute", method: "PUT"}: "watcher.execute_watch",
{path: "/_watcher/watch/{watch_id}/_ack", method: "POST"}: "watcher.ack_watch",
{path: "/_watcher/watch/{watch_id}/_ack", method: "PUT"}: "watcher.ack_watch",
{path: "/_watcher/watch/{watch_id}/_ack/{action_id}", method: "POST"}: "watcher.ack_watch",
{path: "/_watcher/watch/{watch_id}/_ack/{action_id}", method: "PUT"}: "watcher.ack_watch",
{path: "/_watcher/watch/{watch_id}/_activate", method: "POST"}: "watcher.activate_watch",
{path: "/_watcher/watch/{watch_id}/_activate", method: "PUT"}: "watcher.activate_watch",
{path: "/_watcher/watch/{watch_id}/_deactivate", method: "POST"}: "watcher.deactivate_watch",
{path: "/_watcher/watch/{watch_id}/_deactivate", method: "PUT"}: "watcher.deactivate_watch",
{path: "/_xpack", method: "GET"}: "xpack.info",
{path: "/_xpack/usage", method: "GET"}: "xpack.usage",
{path: "/{alias}/_rollover", method: "POST"}: "indices.rollover",
{path: "/{alias}/_rollover/{new_index}", method: "POST"}: "indices.rollover",
{path: "/{index}", method: "DELETE"}: "indices.delete",
{path: "/{index}", method: "GET"}: "indices.get",
{path: "/{index}", method: "HEAD"}: "indices.exists",
{path: "/{index}", method: "PUT"}: "indices.create",
{path: "/{index}/_alias", method: "GET"}: "indices.get_alias",
{path: "/{index}/_alias/{name}", method: "DELETE"}: "indices.delete_alias",
{path: "/{index}/_alias/{name}", method: "GET"}: "indices.get_alias",
{path: "/{index}/_alias/{name}", method: "HEAD"}: "indices.exists_alias",
{path: "/{index}/_alias/{name}", method: "POST"}: "indices.put_alias",
{path: "/{index}/_alias/{name}", method: "PUT"}: "indices.put_alias",
{path: "/{index}/_aliases/{name}", method: "DELETE"}: "indices.delete_alias",
{path: "/{index}/_aliases/{name}", method: "POST"}: "indices.put_alias",
{path: "/{index}/_aliases/{name}", method: "PUT"}: "indices.put_alias",
{path: "/{index}/_analyze", method: "GET"}: "indices.analyze",
{path: "/{index}/_analyze", method: "POST"}: "indices.analyze",
{path: "/{index}/_async_search", method: "POST"}: "async_search.submit",
{path: "/{index}/_block/{block}", method: "PUT"}: "indices.add_block",
{path: "/{index}/_bulk", method: "POST"}: "bulk",
{path: "/{index}/_bulk", method: "PUT"}: "bulk",
{path: "/{index}/_cache/clear", method: "POST"}: "indices.clear_cache",
{path: "/{index}/_ccr/follow", method: "PUT"}: "ccr.follow",
{path: "/{index}/_ccr/forget_follower", method: "POST"}: "ccr.forget_follower",
{path: "/{index}/_ccr/info", method: "GET"}: "ccr.follow_info",
{path: "/{index}/_ccr/pause_follow", method: "POST"}: "ccr.pause_follow",
{path: "/{index}/_ccr/resume_follow", method: "POST"}: "ccr.resume_follow",
{path: "/{index}/_ccr/stats", method: "GET"}: "ccr.follow_stats",
{path: "/{index}/_ccr/unfollow", method: "POST"}: "ccr.unfollow",