Icon

Admin Dashboard

<p>Overview the current Hub usage and download snapshots for later comparison.</p><p>This data app lets you investigate the usage details of your KNIME Business Hub with regards to the teams users, spaces, workflows, etc. Download snapshots of the usage to track development over time.</p><p>It's three steps, displayed on two pages:</p><ol><li><p><strong>Data Collection</strong><br>Collects all the data accessible to the user and does not display data yet. You can reuse or modify this component to your needs.</p></li><li><p><strong>Admin Dashboard</strong><br>Contains an overview of the current Hub usage.</p></li><li><p><strong>Hub Snapshot</strong><br>Contains data summary visualization and anonymized hub snapshot download as a JSON-file.</p></li></ol><p>Team admins will have access to the information of their respective teams. Global admin see information of all teams, and can download snapshots.</p>

URL: Data app documentation https://docs.knime.com/latest/business_hub_admin_workflows_guide/index.html?src=workflow-description#admin_dashboard

Annotations and comments
  • Admin Dashboard Compatible with • Business Hub 1.12 and above with Executor versions 5.3.3 and above • Analytics Platform Versions 5.3.3 and above with connection to a Business Hub 1.12 and above
  • Connection to the KNIME Hub Only global and team admins can view Admin Dashboard. Team admins can view Admin Dashboard of the teams they administer. The global admin can view Admin Dashboard of all the users and teams on the Hub as well as download the Data Summary file. The default is "Current", which will authenticate the user that executes the data app against the KNIME Hub.
  • 1. Data Collection This part of the workflow collects all the data accessible to the user.
  • 2. Admin Dashboard This part of the workflow only accessible to global and team admins. It contains a short overview of the current Hub usage
  • 3. Hub Snapshot This part of the workflow only accessible to global admins. It contains the following: Data summary visualisation Hub Snapshot download as a JSON file
  • 0: Users & Roles 1: Items & Spaces 2: Deployments 3: ECs
  • display-icon
  • no title top: icon bottom: no icon
  • UUID generated with java.util.UUI method
  • Alerts selection
  • Alerts position
  • message
  • html parameters
  • alert without icon
  • alert with icon
  • deployments per team
  • 0: no data to display 1: proceed to time plot
  • aggregator for sorter
  • #deployments per type
  • count per team and type
  • if, status=1 then continue if, status=0, the break
  • rename the columns
  • Link List view
  • take the count of Names &Urls
  • join the names & Urls
  • NewLine separated
  • URLs
  • check if, count of names= count of urls
  • convert to variables
  • total sum of all items
  • deployment overview
  • type count per team
  • sum of all rows
  • change id
  • new deployments over time
  • Deployments
  • related WF Deployments
  • space
  • EC Version Overview
  • 0: only one type 1: 2 types
  • DI type overview
  • DI count
  • EC Availability count
  • non missing APVersion
  • unique count of type
  • Image type
  • shared EC
  • EC Availability
  • 0 - Knime image 1 - custom
  • paths rule
  • image type name
  • create custom legend
  • Executions
  • related WF EC
  • heatmap desc
  • legend
  • items/space per team
  • item size
  • same nice colors
  • nicer colors
  • add aggregation column for sorter
  • linked names
  • Downloads Size (MB)
  • only date
  • total count for each category
  • count items in each bin
  • size to int
  • create bins
  • items and space
  • unique item count for each item type
  • remove missing sire (workflow groups)
  • sort by download
  • new items over time
  • no * for IDs
  • Upload Date
  • top 10 items
  • items
  • related WF Items
  • Foot note table view
  • #items+spaces
  • top: no job info available bot: availalbe
  • Hours
  • font-size-number
  • font-size-description
  • id
  • image-position
  • description-text
  • insight
  • days
  • exclude consumers
  • only components, workflows & datafiles
  • handle if retention time is not available
  • jobs_available
  • nice caption
  • jobRetention
  • #licensed users
  • jobs days
  • toggle-view
  • Perspective
  • roles in teams
  • nicer colours
  • order
  • Date & Users
  • nicer name
  • Count roles per team
  • #new users over time
  • 6 month MA
  • roles overview
  • for each user type
  • total roles count
  • not consumers
  • 0: more than 6 values -> add MA 1: less than 6 values -> only line plot of users
  • users and roles
  • related WF Users
  • line
  • page?
  • check icon-key=Sgraphic-selection
  • graphics
  • Title
  • Subtitle-description
  • string-input-page-type
  • link names
  • link urls
  • Subtitle
  • html grahics
  • image
  • Title, Subtitle & description
  • page-type
  • Line break
  • strip title description & page type
  • Application Password default: "Current"
  • remove members who are admins
  • Team ID and Team Name only
  • standardize column names
  • Team ID Column
  • Team Names Column
  • collect errors
  • take original body if parsing returns missing (-> no pagination)
  • only pages
  • No input needed
  • 1 row
  • keep columns for proceeding
  • keep columns for error reporting/handling
  • Occasion before Endpoint
  • Top: success, page available & status 2XX Bot: no success
  • Occasion
  • Make sure that the columns from the request exist if input is empty.
  • get the page
  • Extract page and pagination info
  • parse to collection type
  • Port 1: collect pages Port 2: collect errors Port 3 (recursive): new endpoint
  • do as long as there comes an empty page
  • The last entry of the page. If it's missing, there are no more pages to request. Keep only rows with pagination information, otherwise it's the un-paginated version of the /accounts endpoint (see annotation above)
  • Endpoint Use the iteration as the page-number
  • skip empty and missing collections -> don't continue once output is empty
  • have all pages as one list Double check if the number of items corresponds to the total number of items that are expected
  • the number of items per page
  • team members and admins
  • Create Lists of users
  • Occasion A meaningful Description on what was attempted
  • Customize to match your definition of "success", like success if 200 <= status < 300 Note that an Error Cause might be present, even though a 2xx status, like "Response doesn't have a media type." top: successful requests bot: errorneous request
  • Make sure that the columns from the request exist.
  • Use ID -> Members IDs
  • all roles
  • add Role: accountMember since everyone part of some team
  • In case of duplicates: remove
  • Unique Username and ID
  • groups
  • roles
  • members
  • remove rows with missing values in members IDs
  • remove rows with missing values in user ID
  • User Name
  • Users info
  • hub url
  • team users
  • rename roles and add Consumer Role
  • identify admins
  • top: global and team admins bottom: members and consumers
  • Content-type not needed
  • AutoStart and AutoStop
  • collect selection cases
  • 1: single selection 2: multiple selection 3: listing
  • top: ECs selected bot: no ECs selected
  • bottom: no teams
  • Get Execution Contexts by teams
  • unique values
  • final output
  • Endpoint
  • Extract variables
  • EC selection multiple
  • no team?
  • exclude teams without EC
  • Single or Multiple Team Selection
  • EC selection single
  • base url
  • Execution Contexts Endpoint
  • ec label
  • same structure of multiple selection
  • add Docker Image Type
  • by AP version
  • get AP versions
  • errors will be displayed in the json directly
  • get cluster id
  • get jobs instrumentation info
  • clusterId BHubVersion
  • jobs job_retention
  • cluster id hub version jobs job_retention
  • jobs are missing
  • Display error in job_retention (e.g. if feature is not activated)
  • cluster endpoint
  • jobs instrumentation endpoint
  • cluster id & hub version
  • for connection
  • only if validation service is enabled
  • get requirements
  • EC
  • Requirements
  • Endpoint Getting only 1 entry since if the entry isn't empty EC with restrictions
  • allow_change_hub
  • Display Connection Issues to the Data App User
  • Fetch identity information
  • Fetch all Teams (for global admins)
  • use_current_hub
  • collect connection
  • request_other_hub
  • collect all errors
  • collect all info
  • top: other hub mid: current hub bot: configured hub
  • top: allow change of Hub bot: use settings given here
  • top: nothing bot: fetch identity info
  • hub-auth-node
  • try connecting
  • error caught=0
  • top: no password given bot: password given
  • current hub with credentials (uses base url from context extractor)
  • Describe what is happening
  • top: invalid hub_url bot: valid hub_url
  • validate hub_url Can happen if executed locally, and no hub url is given.
  • hub_base_url as would have been given from the Hub Authenticator
  • Hub_Auth
  • Icon Image
  • Keep ONLY the selected icon by RowID
  • opening_tag
  • closing_tag
  • SVG height = width (there is currently no way of determining the font size easily automatically, so this is a hardcoded lookup)
  • Size
  • Select Icon- dropdown menu Deleted from possible choices the following icons: Square Asterix Yellow Square Minus Red Square Plus Green Bullet List Because the viewBox value is different and the SVG is more complex
  • Label message
  • Readable icon names
  • Set SVG icon height and width It’s best to modify both the width and height of the SVG icon when changing the text size to avoid distortion and maintain proper proportions
  • html_text
  • Back to an image
  • Icon names and SVG images
  • For Image View
  • display text
  • Selected Icon as table value
  • hub_url 'current' to url from context This is the url we are attempting to connect to, so it will be used in error messages
  • Hub url use regular expression to check if it's a valid hub url
  • use_current_hub: Yes-1 No-0
  • hub-url-api-out
  • input lowercase
  • hub with api
  • stripping away any additional paths
  • default_Hub_Auth
  • check if password set
  • joID to get execution mode hub.api.base-url
  • Status
  • filter out none
  • convert Status to integer to be consistent with the structure of error tables
  • errors
  • all teams info
  • All Errors
  • top: fetch all teams bot: don't
  • Always global admin role
  • only endpoint needed
  • parse parameters of interest
  • Part of Team ID
  • exclude teams this global admin is part of
  • unravel teams this user is part of
  • top:don't show connection bot: show connection
  • 1: no details 2: minimal 3: detailed
  • only account details
  • teams info
  • Team Name
  • get connected account details
  • aggregate roles
  • aggregate all teams
  • agregate flags and team counts
  • user details
  • team details
  • role names
  • no missings (happens for consumers)
  • is_global_admin
  • #teams_as_member
  • #teams_as_admin
  • is_consumer
  • teams_missing
  • replace plural "s"
  • <team-name> (<roles>)
  • team id
  • identity_endpoint
  • pretty_base_url
  • concatenate summary and details
  • summary & details
  • is_global_admin is_consumer #teams_as_member #teams_as_admin account_type account_email account_id
  • team properties as rows
  • team role as rows
  • if global admin & asked for: fetch all teams
  • display_connection_info
  • Alphabetical Team Names for nicer display
  • default_hub_url
  • all component configs
  • top: error message bot: nothing
  • top: show errors bot: no errors
  • check if username and password are set
  • if both username and password are set
  • error display path
  • no errors if default hub and credentials are not set
  • message_title
  • credentials_set
  • Connect
  • boolean to int
  • can't use current hub if locally
  • default selection for use_current_hub
  • to boolean
  • can't use current hub if locally (yellow bar is also ok)
  • If identity deactivated: ensure table specs
  • if errors deactivated
  • incl_password
  • top: concatenate errors bottom: branch is not active because there are no pages to fetch avoid concatenation
  • Remove Page
  • Concatenate all pages
  • Concatenate all errors
  • Page 1
  • Sequence
  • generate sequence of pages
  • attach the sequence to each team
  • create 1 row for each page
  • reduce by one to get counter right
  • keep only relevant pages for each team
  • Max Pages as FV
  • get max pages
  • Table dims
  • Number of rows
  • Empty Table?
  • top:pages bottom:no more pages
  • Page n - Deployments
  • Page 1 - Deployments
  • Extract Deployments
  • no teams?
  • Pages >1
  • Exclude Teams without Deployments
  • Hub Base URL
  • Deployments Endpoint
  • Deployments Endpoint for the additional endpoints
  • Page as Integer
  • Ungroup the list
  • in case of no errors we need this to be not empty
  • pass along empty table
  • Calculate all Label Names
  • Label ID and Name
  • only the first row (will be not available for the last iteration and thus stops the loop)
  • If validation service is enabled?
  • sort label name asc
  • adding api prefix to the url
  • remove /repository/Users
  • remove trailing slash
  • hub_base_url
  • skip empty and missing labels -> don't continue once output is empty
  • 1 (empty) row
  • get savepoints details for which there are permissions
  • Item ID itemVersion
  • Adding back labels without savepoints
  • get savepoints for workflows that need review
  • count savepoints
  • savepoint IDs
  • until the returned list is empty
  • keep label ids with limit savepoints, cause then we dont know it was the last page
  • only savepoints
  • limit
  • ? to empty string
  • filter out: 404 no save point due to deleted version
  • filter out: 400 savepoints in recycle bin
  • omit 403 (no global admin) errors
  • only where admins
  • omit 404 validation errors
  • 0: global admins 1: team admins 2: members and consumers
  • global admin path
  • get secret store stats
  • parse metrics
  • secrets Backends
  • remove rows missing values
  • proper name for metric
  • Config Schema
  • remove rows with missing values
  • proper names for secretsCountByConfigSchemaCredentials secretsCountByConfigSchemaFile
  • proper names for metrics
  • quantiles
  • for all groups in scope
  • extract all quantiles
  • new id
  • proper name
  • scopes
  • remove rows
  • proper name for metrics
  • as rows
  • extract size and downloadCount data
  • If not teams show Alert If teams deactivate Alert
  • top: single selection mid: multiple selection bot: list spaces
  • Handle errors top: no spaces mid: no teams bot: OK
  • Helper column to check for errors: no teams or no spaces available Replace the collection column Team (Space) we get rid of the "missing" value in case teams with and wo spaces
  • to space selected
  • top: spaces selected bot: no space selected
  • top: Teams %%55357%%56832 bot: no Teams %%55357%%56866
  • item type is always space
  • only team-names
  • only body & teamname
  • get spaces of teams
  • space information
  • Delete unnecessary arrays /@namespaces, /@controls
  • team_spaces_endpoint
  • space-name
  • space-team-dictionary
  • as row
  • Space selection multiple
  • replace placeholder
  • Space selection single
  • Selection Label
  • all spaces
  • item versions?
  • top: no versions bottom: item versions
  • Only Item ID
  • Endpoint with Errors?
  • Clean the table
  • only space id column
  • Parent ID
  • To Parent ID
  • Spaces IDs Column
  • Concatenate eventual errors only if versions are requested
  • Add back Workflow Groups
  • List Files
  • Extract File Info
  • Going over each workflow group
  • Top: Save Files Bottom: Workflows Groups to send back to the loop start
  • top: Items that can be versioned bottom: Items that cannot be versioned
  • Space ID
  • Filter Out successful status and missing id
  • top: files listed bottom: endpoint with errors
  • Item Name
  • Item Versions Endpoint
  • List Files Endpoint
  • Insert Missing columns
  • Ungroup list
  • convert size to megabytes
  • empty space
  • rename data to Datafiles
  • make sure table spec is sane
  • "Date"
  • rage from min to max date
  • monthly format
  • space and empty space per space id
  • aggregate space & empty space
  • unique user count per month
  • user id, date
  • start and end time
  • join on date
  • remove row if creation date is missig
  • get each item over time
  • count deployment types
  • filter out invalid time points
  • sort the date
  • replace all dates to 01 (first of month)
  • take only date
  • If user over time deactivated
  • If items over time deactivated
  • add team name to EC
  • add team name to deployments
  • add item type
  • add EC Requirements
  • font-size
  • Text
  • List
  • Text Formatting
  • List Formatting
  • #items
  • #deployments
  • #EC
  • #users
  • downloads
  • items overview
  • deployments overview
  • Images overview
  • remove zero values
  • only deployments
  • only Docker images
  • only roles
  • 0: admins 1: members and consumers
  • top: one error bot: more than one
  • to HTML for linebreak
  • occasion - status - cause - endpoint
  • top: no error bot: error
  • number of errors
  • branch
  • Cause
  • Endpoints
  • Any fetch Error?
  • path for only members and consumers
  • Hub URL default: "Current"
  • Add Version of json format
  • Add execution time
  • add ClusterID
  • add jobRetention
  • add jobs
  • add Hub version
  • add Validation service activated
  • execution time
  • global_admin_path 0: proceed - global admin 1: stop execution - lack of permission
  • remove current month
  • nicer names
  • create json
  • write to data area
  • missing integers to 0
  • get the right format for json convert
  • add the version to the file name
  • executionContexts
  • Name & Value
  • better names
  • labelCount
  • restrictedExecutionContextCount
  • Total Assigned Labels
  • intersection of columns
  • unique names
  • total user and team count
  • Docker Image type count
  • sum (size) per item type
  • licensedUsers
  • count workflow Applications
  • total item size
  • count
  • unique label count
  • label id and savepoints
  • containers * Memory
  • containers * vCores
  • size long to int
  • savepoints pivot by Item type
  • keep WAs
  • workflowVersionWithLabelCount componentVersionWithLabelCount
  • only workflows
  • only Component DataFile Workflow
  • newUsers
  • if Requirements not empty then EC is restricted
  • workflowApplicationCount
  • new column with custom names
  • proper names for json
  • ensure table structure
  • items - 13 past months
  • transpose
  • Workflow Applications table on Community Hub
  • Workflow Applications table from data area
  • write file to data area
  • data_from_community_hub
  • ensure the format

Nodes

Extensions

Links