Package org.elasticsearch.index
Class IndexingSlowLog
java.lang.Object
org.elasticsearch.index.IndexingSlowLog
- All Implemented Interfaces:
IndexingOperationListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.index.shard.IndexingOperationListener
IndexingOperationListener.CompositeListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic Setting<SlowLogLevel>
Reads how much of the source to log.static String
static Setting<org.elasticsearch.core.TimeValue>
static Setting<org.elasticsearch.core.TimeValue>
static Setting<org.elasticsearch.core.TimeValue>
static Setting<org.elasticsearch.core.TimeValue>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postIndex(ShardId shardId, Engine.Index indexOperation, Engine.IndexResult result)
Called after the indexing operation occurred.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.index.shard.IndexingOperationListener
postDelete, postDelete, postIndex, preDelete, preIndex
-
Field Details
-
INDEX_INDEXING_SLOWLOG_PREFIX
- See Also:
- Constant Field Values
-
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_WARN_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_WARN_SETTING -
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_INFO_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_INFO_SETTING -
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_DEBUG_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_DEBUG_SETTING -
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_TRACE_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_TRACE_SETTING -
INDEX_INDEXING_SLOWLOG_REFORMAT_SETTING
-
INDEX_INDEXING_SLOWLOG_LEVEL_SETTING
-
INDEX_INDEXING_SLOWLOG_MAX_SOURCE_CHARS_TO_LOG_SETTING
Reads how much of the source to log. The user can specify any value they like and numbers are interpreted the maximum number of characters to log and everything else is interpreted as Elasticsearch interprets booleans which is then converted to 0 for false and Integer.MAX_VALUE for true.
-
-
Method Details
-
postIndex
Description copied from interface:IndexingOperationListener
Called after the indexing operation occurred. Note that this is also called when indexing a document did not succeed due to document related failures. SeeIndexingOperationListener.postIndex(ShardId, Engine.Index, Exception)
for engine level failures- Specified by:
postIndex
in interfaceIndexingOperationListener
-