From d3ffff4742d557dc202b66d6acc6ea00b8f99643 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Mon, 18 Feb 2019 20:40:29 +0300 Subject: [PATCH] Added Audit Logging section --- docs/en/Audit-Logging.md | 3 +++ docs/en/Samples/Microservice-Demo.md | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 docs/en/Audit-Logging.md diff --git a/docs/en/Audit-Logging.md b/docs/en/Audit-Logging.md new file mode 100644 index 0000000000..f11a3f19e3 --- /dev/null +++ b/docs/en/Audit-Logging.md @@ -0,0 +1,3 @@ +# Audit Logging + +TODO \ No newline at end of file diff --git a/docs/en/Samples/Microservice-Demo.md b/docs/en/Samples/Microservice-Demo.md index efde7fb354..fcedcd0f89 100644 --- a/docs/en/Samples/Microservice-Demo.md +++ b/docs/en/Samples/Microservice-Demo.md @@ -1435,4 +1435,8 @@ Kibana URL is `http://localhost:5601/` by default. ### Audit Logging -TODO \ No newline at end of file +ABP provides automatic audit logging which saves every request in detail (who is the current user, what is the browser/client, what actions performed, which entities changed, even which properties of entities has been updated). See the [audit logging document](../Audit-Logging.md) for details. + +All of the services and applications are configured to write audit logs. Audit logs are saved to the MsDemo_Identity SQL database. So, you can query all audit logs of all applications from a single point. + +An Audit Log record has a `CorrelationId` property that can be used to track a request. When a service calls another service in a single web request, they both save audit logs with the same `CorrelationId`. See the `AbpAuditLogs` table in the database. \ No newline at end of file