RavenDB
Raven DB is a very efficient way to store and analyze the collected events.
The package @tailjs/ravendb provides an integration for this.
Configuration
Example configuration
import {RavenDbTracker} from "@tailjs/ravendb";
tailjs({ // ... extensions: [ // ... new RavenDbTracker({ url: "https://a.your-account.ravendb.community", database: "tailjs", cert: { certPath: "ravendb/your-license.pfx", }, }); // ... ]});The RavenDB package comes bundles with the NuGet package so no additional installation is needed.
"TailJs": { // ... "ScriptExtensions": [ // ... { "Module": "js/ravendb.js", "Import": "RavenDbTracker", "Settings": { "url": "https://a.your-account.ravendb.community", "database": "tailjs", "x509": { "certPath": "ravendb/your-license.pfx" } } } // ... ]}url
The URL for the server/cluster. For example https://a.your-account.ravendb.community
database
The name of the database to use. Events will go into a collection named “events”.
x509
Use any of the parameters cert, certPath, key and keyPath to specify your certifacte for authentication with the server.
The cert path is relative to the resources directory the server engine is using. The default is res in the root of your project.