Skip to content

Commit

Permalink
Merge pull request #1940 from Danielle9897/RDoc-3080-auditLog
Browse files Browse the repository at this point in the history
RDoc-3080 Update "What is being logged" in the Audit Log article
  • Loading branch information
ppekrol authored Nov 12, 2024
2 parents e3d5e1c + 7e81c27 commit e85ea27
Show file tree
Hide file tree
Showing 20 changed files with 534 additions and 305 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RavenDB does nothing with the audit logs except write them.
It is important to understand that the audit logs are local. That is, if we have a database residing on node C which is removed by a command originating on node B,
the audit entry will be in the audit log of node B, not node C.

Also note that RavenDB writes connections to the audit log, not requests. This is done for performance and managability reasons. Otherwise, you'd have extremely large and unwieldy audit logs.
Also note that RavenDB writes connections to the audit log, not requests. This is done for performance and manageability reasons. Otherwise, you'd have extremely large and unwieldy audit logs.

With HTTP 1.1, a single TCP connection is used for many different requests. The only items you'll find in the audit log are the time of the TCP connection, the certificate being used
and the level of access granted to this certificate at the time of the connection. If you require more detailed logs (at the level of individual HTTP requests),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
[
{
"Path": "overview.markdown",
"Name": "Overview",
"DiscussionId": "9d871c78-bc38-416b-b1c2-522dc3d28515",
"Mappings": []
},
{
"Path": "/authentication",
"Name": "Authentication",
"Mappings": []
},
{
"Path": "/authorization",
"Name": "Authorization",
"Mappings": []
},
{
"Path": "/encryption",
"Name": "Encryption",
"Mappings": []
},
{
"Path": "/audit-log",
"Name": "Audit Log",
"Mappings": []
},
{
"Path": "fiddler-usage-with-secured-database.markdown",
"Name": "Fiddler Usage With Secured Database",
"DiscussionId": "c9af3491-8a59-4947-a274-29b5cac92e5c",
"Mappings": []
},
{
"Path": "common-errors-and-faq.markdown",
"Name": "Common Errors & FAQ",
"DiscussionId": "4c04c279-e144-4fb5-8f7b-90be95995496",
"Mappings": []
}
]
{
"Path": "overview.markdown",
"Name": "Overview",
"DiscussionId": "9d871c78-bc38-416b-b1c2-522dc3d28515",
"Mappings": []
},
{
"Path": "/authentication",
"Name": "Authentication",
"Mappings": []
},
{
"Path": "/authorization",
"Name": "Authorization",
"Mappings": []
},
{
"Path": "/encryption",
"Name": "Encryption",
"Mappings": []
},
{
"Path": "/audit-log",
"Name": "Audit Log",
"Mappings": []
},
{
"Path": "fiddler-usage-with-secured-database.markdown",
"Name": "Fiddler Usage With Secured Database",
"DiscussionId": "c9af3491-8a59-4947-a274-29b5cac92e5c",
"Mappings": []
},
{
"Path": "common-errors-and-faq.markdown",
"Name": "Common Errors & FAQ",
"DiscussionId": "4c04c279-e144-4fb5-8f7b-90be95995496",
"Mappings": []
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RavenDB does nothing with the audit logs except write them.
It is important to understand that the audit logs are local. That is, if we have a database residing on node C which is removed by a command originating on node B,
the audit entry will be in the audit log of node B, not node C.

Also note that RavenDB writes connections to the audit log, not requests. This is done for performance and managability reasons. Otherwise, you'd have extremely large and unwieldy audit logs.
Also note that RavenDB writes connections to the audit log, not requests. This is done for performance and manageability reasons. Otherwise, you'd have extremely large and unwieldy audit logs.

With HTTP 1.1, a single TCP connection is used for many different requests. The only items you'll find in the audit log are the time of the TCP connection, the certificate being used
and the level of access granted to this certificate at the time of the connection. If you require more detailed logs (at the level of individual HTTP requests),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,34 +1,40 @@
[
{
"Path": "overview.markdown",
"Name": "Overview",
"DiscussionId": "b8e6db5e-7ba2-4f41-a6af-0f4f382e92af",
"Mappings": []
},
{
"Path": "/authentication",
"Name": "Authentication",
"Mappings": []
},
{
"Path": "/authorization",
"Name": "Authorization",
"Mappings": []
},
{
"Path": "/encryption",
"Name": "Encryption",
"Mappings": []
},
{
"Path": "/audit-log",
"Name": "Audit Log",
"Mappings": []
},
{
"Path": "common-errors-and-faq.markdown",
"Name": "Common Errors & FAQ",
"DiscussionId": "5240dcc1-b5ea-4dd7-9b48-c1a436c599a2",
"Mappings": []
}
]
{
"Path": "overview.markdown",
"Name": "Overview",
"DiscussionId": "b8e6db5e-7ba2-4f41-a6af-0f4f382e92af",
"Mappings": []
},
{
"Path": "/authentication",
"Name": "Authentication",
"Mappings": []
},
{
"Path": "/authorization",
"Name": "Authorization",
"Mappings": []
},
{
"Path": "/encryption",
"Name": "Encryption",
"Mappings": []
},
{
"Path": "/audit-log",
"Name": "Audit Log",
"Mappings": []
},
{
"Path": "fiddler-usage-with-secured-database.markdown",
"Name": "Fiddler Usage With Secured Database",
"DiscussionId": "c9af3491-8a59-4947-a274-29b5cac92e5c",
"Mappings": []
},
{
"Path": "common-errors-and-faq.markdown",
"Name": "Common Errors & FAQ",
"DiscussionId": "4c04c279-e144-4fb5-8f7b-90be95995496",
"Mappings": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"Path": "audit-log.markdown",
"Name": "Audit Log",
"DiscussionId": "ee6fcad9-8cdc-4f2f-a09c-b096e1603c6a",
"Mappings": []
}
]
Original file line number Diff line number Diff line change
@@ -1,34 +1,40 @@
[
{
"Path": "overview.markdown",
"Name": "Overview",
"DiscussionId": "b8e6db5e-7ba2-4f41-a6af-0f4f382e92af",
"Mappings": []
},
{
"Path": "/authentication",
"Name": "Authentication",
"Mappings": []
},
{
"Path": "/authorization",
"Name": "Authorization",
"Mappings": []
},
{
"Path": "/encryption",
"Name": "Encryption",
"Mappings": []
},
{
"Path": "/audit-log",
"Name": "Audit Log",
"Mappings": []
},
{
"Path": "common-errors-and-faq.markdown",
"Name": "Common Errors & FAQ",
"DiscussionId": "5240dcc1-b5ea-4dd7-9b48-c1a436c599a2",
"Mappings": []
}
]
{
"Path": "overview.markdown",
"Name": "Overview",
"DiscussionId": "b8e6db5e-7ba2-4f41-a6af-0f4f382e92af",
"Mappings": []
},
{
"Path": "/authentication",
"Name": "Authentication",
"Mappings": []
},
{
"Path": "/authorization",
"Name": "Authorization",
"Mappings": []
},
{
"Path": "/encryption",
"Name": "Encryption",
"Mappings": []
},
{
"Path": "/audit-log",
"Name": "Audit Log",
"Mappings": []
},
{
"Path": "fiddler-usage-with-secured-database.markdown",
"Name": "Fiddler Usage With Secured Database",
"DiscussionId": "c9af3491-8a59-4947-a274-29b5cac92e5c",
"Mappings": []
},
{
"Path": "common-errors-and-faq.markdown",
"Name": "Common Errors & FAQ",
"DiscussionId": "4c04c279-e144-4fb5-8f7b-90be95995496",
"Mappings": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"Path": "audit-log.markdown",
"Name": "Audit Log",
"DiscussionId": "ee6fcad9-8cdc-4f2f-a09c-b096e1603c6a",
"Mappings": []
}
]
Original file line number Diff line number Diff line change
@@ -1,34 +1,40 @@
[
{
"Path": "overview.markdown",
"Name": "Overview",
"DiscussionId": "b8e6db5e-7ba2-4f41-a6af-0f4f382e92af",
"Mappings": []
},
{
"Path": "/authentication",
"Name": "Authentication",
"Mappings": []
},
{
"Path": "/authorization",
"Name": "Authorization",
"Mappings": []
},
{
"Path": "/encryption",
"Name": "Encryption",
"Mappings": []
},
{
"Path": "/audit-log",
"Name": "Audit Log",
"Mappings": []
},
{
"Path": "common-errors-and-faq.markdown",
"Name": "Common Errors & FAQ",
"DiscussionId": "5240dcc1-b5ea-4dd7-9b48-c1a436c599a2",
"Mappings": []
}
]
{
"Path": "overview.markdown",
"Name": "Overview",
"DiscussionId": "b8e6db5e-7ba2-4f41-a6af-0f4f382e92af",
"Mappings": []
},
{
"Path": "/authentication",
"Name": "Authentication",
"Mappings": []
},
{
"Path": "/authorization",
"Name": "Authorization",
"Mappings": []
},
{
"Path": "/encryption",
"Name": "Encryption",
"Mappings": []
},
{
"Path": "/audit-log",
"Name": "Audit Log",
"Mappings": []
},
{
"Path": "fiddler-usage-with-secured-database.markdown",
"Name": "Fiddler Usage With Secured Database",
"DiscussionId": "c9af3491-8a59-4947-a274-29b5cac92e5c",
"Mappings": []
},
{
"Path": "common-errors-and-faq.markdown",
"Name": "Common Errors & FAQ",
"DiscussionId": "4c04c279-e144-4fb5-8f7b-90be95995496",
"Mappings": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"Path": "audit-log.markdown",
"Name": "Audit Log",
"DiscussionId": "ee6fcad9-8cdc-4f2f-a09c-b096e1603c6a",
"Mappings": []
}
]
Loading

0 comments on commit e85ea27

Please sign in to comment.