All Apps and Add-ons

Spunk Mint Events, Crash reports & logs are not shown in the Mint Dashboard

nu1splunk
Explorer

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.

Tags (1)
0 Karma
1 Solution

nu1splunk
Explorer

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.

View solution in original post

0 Karma

nu1splunk
Explorer

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.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...