Splunk Dev

MINT Management Console not showing Data

ptheisen
New Member

I have installed the Mint SDK for Android. For this I followed the instructions 1:1 from this video: https://www.youtube.com/watch?v=vecdk2HUASw

However, I got the following errors:

ERROR: Unable to find method 'com.android.build.gradle.BasePlugin.getVariantManager()Lcom/android/build/gradle/internal/VariantManager;'.

Failed to notify project evaluation listener.
> com.android.build.gradle.BasePlugin.getVariantManager()Lcom/android/build/gradle/internal/VariantManager;

By removing "

apply plugin: 'com.splunk.mint.gradle.android.plugin'

from build.gradle(:app), I got my code then to work.


I let my app crash as recommended and received an error email from the Mint Management Console. In the Console, I can also see the mobile App crashes that I created.

HOWEVER:

Other than the Error Report, I can't see any data in the Mint Management Console. All Reports are just spinning and loading forever.
Even if I add

Mint.logEvent("We are here");

or 

String txID = Mint.transactionStart("Test1");
Mint.transactionStop(txID);

to my app, I still don't receive any data in the Mint Management Console.

 

Then I tried to send data via 

Mint.initAndStartSessionHEC(this.getApplication(), "http://URL/:8088/services/collector/mint", "myTokenAsObtainedFromSplunkEnterprise");

directly to Splunk Enterprise (hosted on AWS with an open listening port on 8088), there was no data arriving at Splunk.

 

Does anybody know what could go wrong here?

  1. Why do I have to remove the Splunk.mint.gradle.android.plugin from my Gradle file to make my code work?
  2. Why do data don't get through from my MobileApp to Mint Mgt Console or Splunk even though Mint Mgt Console is able to detect intentional crashes of my Mobile App?
Labels (2)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...