- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why is moment.js not available in splunk 9.1.x+?
Hi,
In the splunk 9.1.x version and above, we are noticing that the moment.js is missing in the following location, /opt/splunk/share/splunk/search_mrsparkle/exposed/js/contrib/moment.js
Due to this our custom app functionalities are not working and we are getting error as attached, Please let us know if this is a known issues and any resolutions for this.
In spite of placing the moment.js in our app folder we still notice the app is trying to use the default moment js in this location "/opt/splunk/share/splunk/search_mrsparkle/exposed/js/contrib/moment.js"
We have also tried other solution from the community by placing var moment = require('moment'); but still its returning error.
Can you please provide any possible solution to resolve this issue.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
First of all, I'm far far away from Java scripting. But maybe those who know this could help:
Seems to me Splunk removed the moment.js after the update. For me, it's still can be found in /opt/splunk/quarantined_files/share/splunk/search_mrsparkle/exposed/js/contrib/ folder.
The new(?) version is supposed to be here:
/opt/splunk/share/splunk/search_mrsparkle/exposed/js/contrib/moment/lang/ , but it seems now "localised"
Or I'm totally wrong 🙂 Please share your thoughts, I faced the same issue with Cisco Cloud Security App
Regards, Norbert
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
... I tested it if you copy back the moment.js from /opt/splunk/quarantined_files/share/splunk/search_mrsparkle/exposed/js/contrib/
to
/opt/splunk/share/splunk/search_mrsparkle/exposed/js/contrib/
The Cisco app works. But this is a hack and Splunk will complain about the file integrity. I think Cisco needs to update its app.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same issue here
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://...@b6436b649711.1/js/contrib/moment.js it seems moment.js is missing in this location , we verified in splunk 9.1.x+ this internal splunk file seems to be missing...
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also facing same issue. did you find any solution?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I opened a ticket at Cisco support and they promised that the app will be updated soon.
KR
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any update on this?
I installed v 1.0.40 and still have the same problem with moment.js.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
1.0.40 working fine for me.
- clear your browser cache or use a different browser/incognito mode
Note: the configuration changed. You need to set a new API key even for the Overview dashboards....
