Skip to content

Instantly share code, notes, and snippets.

(function(){
function removeDialog() {
document.body.removeChild(document.getElementById('customDialog'));
}
function functionDebugger() {
try {
pendo.enableDebugging();
} catch (e) {
console.log('Pendo VDS is not available.');
// required node.js libraries
const request = require('request');
const crypto = require('crypto');
// Azure Log Analysis credentials
const workspaceId = 'xxxxx';
const sharedKey = 'xxxx';
// Specify the name of the record type that you'll be creating
const LogType = "BoxReports"