We are evaluating Splunk Mint as for logging and crash logging infrastructure. By the way our company has Splunk enterprise license.
Our mobile apps are basically using Apache Cordova to run inside a WebView.
I have created a sample app and using this plugin; https://github.com/commontime/com.commontime.cordova.splunk-mint
Following is our trial api key for Mint; 2ccce8dc
The problem is we can't see the Events, Crash reports or logs in the Mint dashboard.
Can someone please me to figure out how the reason event & crash data is not displayed in the dashboard.
In our code we call;
plugins.splunkmint.logEvent(function(){
log_("success logging event");
}, function(arg){
log_("error logging event");
}, "splunkmint loaded");
Internally the plugin will call Mint.logEvent() method. The success call back is getting called in above invocation.
Then we call Mint.flush() to send the data and success function getting called in this scenario also. Unfortunately the data is NOT there in the Mint dashboard (I have refreshed dashboard in 5 mins intervals).
Can you please provide some help resolving this issue? So that I can provide the recommendation on Splunk Mint for the management.
Thanks a lot in advance.
Ok. I managed to get his fixed. While reading the Cordova plugin code it was reading a preference specified by key "splunk_android_api_key". In the documentation of the plugin it is incorrect. Once I changed that things started to work. I am getting all events and crash reports no time.
Ok. I managed to get his fixed. While reading the Cordova plugin code it was reading a preference specified by key "splunk_android_api_key". In the documentation of the plugin it is incorrect. Once I changed that things started to work. I am getting all events and crash reports no time.