This project was created by myself, an SE of Dynatrace. This is not an official Dynatrace application and it is not something you can open a support ticket on. You may create an issue on the github repository, however there is no guaruntee it will be addressed (this isn't my primary job, just a fun project).
Install the Dynatarce dt-app toolkit and then make sure it is added to your $PATH in environment variables:
npx dt-app@latest
Users looking to access the application will need the following scopes to be able to access all the pages of the application:
storage:logs:read
storage:buckets:read
storage:system:read
environment-api:audit-logs:read
environment:roles:manage-settings
The user must also have:
app-engine:apps:run
app-engine:functions:run
"scopes": [
{
"name": "storage:logs:read",
"comment": "Access Logs"
},
{
"name": "storage:buckets:read",
"comment": "Access Buckets"
},
{
"name": "storage:system:read",
"comment": "Read System Tables for Audit Logs"
},
{
"name": "environment-api:audit-logs:read",
"comment": "Read old Audit Logs from API"
},
{
"name": "environment:roles:manage-settings",
"comment": "Manage Settings are required to view old audit logs"
}
]
Git clone the repository.
Go to the file app.config.json and update the environmentURL to your environment.
{
"environmentUrl": "ENTER YOUR TENANT URL HERE https://abc123.apps.dynatrace.com",
"app": {
"name": "Audit Logs Viewer",
"version": "0.0.4",
"description": "An application to view and quickly filter audit logs.",
"id": "my.audit.logs.viewer",
"scopes": [
{
"name": "storage:logs:read",
"comment": "Access Logs"
},
{
"name": "storage:buckets:read",
"comment": "Access Buckets"
},
{
"name": "storage:system:read",
"comment": "Read System Tables for Audit Logs"
},
{
"name": "environment-api:audit-logs:read",
"comment": "Read old Audit Logs from API"
}
]
},
"icon": "./src/assets/auditLogsIcon.png"
}
npm install
npm run start
npm run deploy
In the project directory, you can run:
Runs the app in the development mode. A new browser window with your running app will be automatically opened.
Edit a component file in src and save it. The page will reload when you make changes. You may also see any errors in the console.
Builds the app for production to the dist folder. It correctly bundles your app in production mode and optimizes the build for the best performance.
Builds the app and deploys it to the specified environment in app.config.json.
Uninstalls the app from the specified environment in app.config.json.
Generates a new serverless function for your app in the api folder.
Updates @dynatrace-scoped packages to the latest version and applies automatic migrations.
Outputs the CLI and environment information.
Outputs help for the Dynatrace App Toolkit.
You can find more information on how to use all the features of the new Dynatrace Platform in Dynatrace Developer.
To learn React, check out the React documentation.