NodeJS server that can do:
- Extract records from NebulaLogger (Salesforce Package)
- Transform Logs
- Send to a destination (TBC) - InfluxDB / Grafana?
SF_LOGIN_URL=https://login.salesforce.com
SF_USERNAME=demo.user@test.com
SF_PASSWORD=
SF_SECURITY_TOKEN=
Package | Information | Link |
---|---|---|
NebulaLogger | Package for better Salesforce Logging | https://github.com/jongpie/NebulaLogger |
JSForce | Javascript package for Salesforce | https://jsforce.github.io |
Nebula Logger nodeJS | NodeJS package to help integrate with Nebula Logger Salesforce Package | https://www.npmjs.com/package/nebula-logger-nodejs |
records: [
{
attributes: [Object],
Id: 'a078d000000oV5HAAU',
OwnerId: '0058d0000019D40AAE',
IsDeleted: false,
Name: 'Log-000000',
CreatedDate: '2021-12-24T14:42:00.000+0000',
CreatedById: '0058d000001bDXhAAM',
LastModifiedDate: '2021-12-24T14:42:02.000+0000',
LastModifiedById: '0058d000001bDXhAAM',
SystemModstamp: '2021-12-24T14:42:02.000+0000',
Issue__c: null,
LoginBrowser__c: 'Firefox 95',
LoginDomain__c: null,
LoginApplication__c: 'Browser'
},
{
attributes: [Object],
Id: 'a078d000000oV5IAAU',
OwnerId: '0058d0000019D40AAE',
IsDeleted: false,
Name: 'Log-000001',
CreatedDate: '2021-12-24T14:42:43.000+0000',
CreatedById: '0058d000001bDXhAAM',
LastModifiedDate: '2021-12-24T14:42:43.000+0000',
LastModifiedById: '0058d000001bDXhAAM',
SystemModstamp: '2021-12-24T14:42:43.000+0000',
Issue__c: null,
LoginBrowser__c: 'Firefox 95',
LoginDomain__c: null,
LoginApplication__c: 'Browser'
}
]
}