Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[
;; Access Log Schema
{db/id #db/id[:db.part/db]
:db/ident :access/ip
:db/valueType :db.type/string
:db/cardinality :db.cardinality/one
:db/doc "Requester IP address"
:db.install/_attribute :db.part/db}
{db/id #db/id[:db.part/db]
:db/ident :access/verb
:db/valueType :db.type/string
:db/doc "HTTP Request verb"
:db.install/_attribute :db.part/db}
{db/id #db/id[:db.part/db]
:db/ident :access/url
:db/valueType :db.type/string
:db/doc "HTTP Request url"
:db.install/_attribute :db.part/db}
{db/id #db/id[:db.part/db]
:db/ident :access/version
:db/valueType :db.type/string
:db/doc "HTTP Version"
:db.install/_attribute :db.part/db}
{db/id #db/id[:db.part/db]
:db/ident :access/status
:db/valueType :db.type/long
:db/doc "HTTP Status code"
:db.install/_attribute :db.part/db}
{db/id #db/id[:db.part/db]
:db/ident :access/size
:db/valueType :db.type/long
:db/doc "Size of request"
:db.install/_attribute :db.part/db}
{db/id #db/id[:db.part/db]
:db/ident :access/referrer
:db/doc "Requester referring url"
:db.install/_attribute :db.part/db}
{db/id #db/id[:db.part/db]
:db/ident :access/useragent
:db/valueType :db.type/string
:db/doc "Requester user-agent"
:db.install/_attribute :db.part/db}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment