Skip to content

Commit

Permalink
Merge pull request #2796 from atlanhq/feat/log-dsl-auditsearcg
Browse files Browse the repository at this point in the history
log:es dsl in auditsearch API
  • Loading branch information
mehtaanshul authored Jan 29, 2024
2 parents 8fc5dfe + 5705280 commit b4a7987
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1174,12 +1174,12 @@ public EntityAuditSearchResult searchAuditEvents(AuditSearchParams parameters) t
AtlasPerfTracer perf = null;

try {
String dslString = parameters.getQueryString();

if (AtlasPerfTracer.isPerfTraceEnabled(PERF_LOG)) {
perf = AtlasPerfTracer.getPerfTracer(PERF_LOG, "EntityREST.searchAuditEvents");
perf = AtlasPerfTracer.getPerfTracer(PERF_LOG, "EntityREST.searchAuditEvents(" + dslString + ")");
}

String dslString = parameters.getQueryString();

EntityAuditSearchResult ret = esBasedAuditRepository.searchEvents(dslString);

scrubAndSetEntityAudits(ret, parameters.getSuppressLogs(), parameters.getAttributes());
Expand Down

0 comments on commit b4a7987

Please sign in to comment.