@@ -156,7 +156,7 @@ export class IndexSettings
156
156
* Enable or disable dynamic mapping for an index.
157
157
*/
158
158
mapping ?: MappingLimitSettings
159
- 'indexing.slowlog' ?: SlowlogSettings
159
+ 'indexing.slowlog' ?: IndexingSlowlogSettings
160
160
/**
161
161
* Configure indexing back pressure limits.
162
162
*/
@@ -479,12 +479,6 @@ export class SlowlogSettings {
479
479
export class SlowlogTresholds {
480
480
query ?: SlowlogTresholdLevels
481
481
fetch ?: SlowlogTresholdLevels
482
- /**
483
- * The indexing slow log, similar in functionality to the search slow log. The log file name ends with `_index_indexing_slowlog.json`.
484
- * Log and the thresholds are configured in the same way as the search slowlog.
485
- * @doc_id index-modules-slowlog-slowlog
486
- */
487
- index ?: SlowlogTresholdLevels
488
482
}
489
483
490
484
export class SlowlogTresholdLevels {
@@ -549,3 +543,19 @@ export class IndexingPressureMemory {
549
543
*/
550
544
limit ?: integer
551
545
}
546
+
547
+ export class IndexingSlowlogSettings {
548
+ level ?: string
549
+ source ?: integer
550
+ reformat ?: boolean
551
+ threshold ?: IndexingSlowlogTresholds
552
+ }
553
+
554
+ export class IndexingSlowlogTresholds {
555
+ /**
556
+ * The indexing slow log, similar in functionality to the search slow log. The log file name ends with `_index_indexing_slowlog.json`.
557
+ * Log and the thresholds are configured in the same way as the search slowlog.
558
+ * @doc_id index-modules-slowlog-slowlog
559
+ */
560
+ index ?: SlowlogTresholdLevels
561
+ }
0 commit comments