public class ElasticIndexingAuditTrail extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CREATE_DOC_PIPELINE |
static String |
CREATE_INDEX |
static String |
CREATE_INDEX_ALIAS |
static String |
CREATE_PIPELINE |
static String |
CREATE_TYPE |
static String |
DELETE_ALL |
static String |
DELETE_TYPE |
static String |
REINDEX_ALL |
static String |
REINDEX_TYPE |
static String |
SEARCH_TYPE |
| Constructor and Description |
|---|
ElasticIndexingAuditTrail() |
| Modifier and Type | Method and Description |
|---|---|
void |
audit(String action,
String entityId,
String index,
String type,
Integer httpStatusCode,
String message,
long executionTime) |
static boolean |
isError(Integer httpStatusCode) |
boolean |
isFullLogEnabled() |
void |
logAcceptedBulkOperation(String action,
String entityId,
String index,
String type,
Integer httpStatusCode,
String message,
long executionTime) |
void |
logAcceptedSearchOperation(String action,
String index,
String type,
Integer httpStatusCode,
String message,
long executionTime) |
void |
logRejectedDocumentBulkOperation(String action,
String entityId,
String index,
String type,
Integer httpStatusCode,
String message,
long executionTime) |
void |
logRejectedSearchOperation(String action,
String index,
String type,
Integer httpStatusCode,
String message,
long executionTime) |
public static final String REINDEX_ALL
public static final String DELETE_ALL
public static final String CREATE_INDEX
public static final String CREATE_INDEX_ALIAS
public static final String CREATE_TYPE
public static final String DELETE_TYPE
public static final String REINDEX_TYPE
public static final String SEARCH_TYPE
public static final String CREATE_PIPELINE
public static final String CREATE_DOC_PIPELINE
public static boolean isError(Integer httpStatusCode)
public void audit(String action, String entityId, String index, String type, Integer httpStatusCode, String message, long executionTime)
public void logRejectedDocumentBulkOperation(String action, String entityId, String index, String type, Integer httpStatusCode, String message, long executionTime)
public boolean isFullLogEnabled()
public void logAcceptedBulkOperation(String action, String entityId, String index, String type, Integer httpStatusCode, String message, long executionTime)
public void logRejectedSearchOperation(String action, String index, String type, Integer httpStatusCode, String message, long executionTime)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.