I found this https://splunkbase.splunk.com/app/3120/ visualization useful which is built by Splunk but the problem is it comes as a separate app. I want to include it in the app bundle itself. I checked the license and its MIT. I am not sure if we can just copy it in the app bundle itself or not. If we can then what will be the steps to do so.
https://splunkbase.splunk.com/app/3120/ or Timeline - Custom Visualization is under the Splunk Software License Agreement.
You could log a support ticke to clarify as it is splunk supported but from a quick read of the Splunk license, my interpretation is that you would not be allowed to re-distribute an app with this visualisation bundled inside.
What you can do is recommend that the visualisation be installed when your particular app is installed...
Happy to be corrected on this...
Ok, I don't want to bundle it as the whole app and distribute but can we use the code that resides under appserver/statistics/visualizations directory. Also, where in package.json I found license mentioned as MIT.
Perhaps that visualisation js is open source, can you find the original online?
visualization.js gets bundled by webpack. the source is available right there in the src directory at the same level. They have used d3.js.
I'm wondering if the MIT license is from https://github.com/jiahuang/d3-timeline but you could ask via a support case