New Relic Push Connector integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 01:21 PM
Hello Team,
I am new to ITOM event management, Not expert in JS. currently working on sending events to SNOW from Newrelic using a webhook.
Ended up with below error
"message": "New Relic Push Connector : InternalError: Cannot convert $TIMESTAMP to java.lang.Long (sn_em_connector_listener.3b657fc6e7171010e10f6584c2f6a9ea.script; line 80)".
var newRelicTimestamp = requestBody.timestamp;
if (newRelicTimestamp) {
timeOfEvent.setNumericValue(newRelicTimestamp); //this is line 80 of push connector.
}
gr.time_of_event = timeOfEvent;
Can someone help me to fix the issue. Let me know if you need any further details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 11:48 PM
Hello @CarlosG117 ,
Please refer to this link:
https://docs.servicenow.com/en-US/bundle/vancouver-it-operations-management/page/product/event-manag...
If it is helpful, please mark it as helpful!
Thanks & Regards,
Abbas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 12:11 AM
Looks like it didt accept the date string value.
. Can you try to log the info on the date value passed here. Based on the log info use the appropriate functions