Splunk MINT SDK for Android (Legacy)

Splunk MINT SDK for Android Developer Guide

Splunk MINT is no longer available for purchase as of January 29, 2021. Customers who have already been paying to ingest and process MINT data in Splunk Enterprise will continue to receive support until December 31, 2021, which is End of Life for all MINT products: App, Web Service (Management Console), SDK and Add-On.

Change log


Use of the Splunk MINT SDK is subject to the Splunk MINT Terms of Service.

To download the latest version of the Splunk MINT SDK for Android, see Requirements and installation for Android.

For help with common issues, see Troubleshooting Splunk MINT.

Version 5.2.5

Released 01/28/2019

What's new

Version 5.2.4

Released 08/08/2018

What's New

  • The Splunk MINT SDK for Android now makes the network reporting API a first-class citizen.

API Changes

  • Added the logNetworkEvent method.

Version 5.2.2

Released 09/13/2017

What's New

  • The Android Gradle plugin now supports Android Studio 2.3.x. For more about requirements, see Use the Gradle plugin for Android.
  • The Splunk MINT SDK for Android now piggybacks on energized antenna to auto-flush the data.

API Changes

  • Added the Mint.setAutoFlushMinimumInterval method.
  • Added the Mint.disableAutoFlash method.

Version 5.2.1

Released 1/12/2017

What's New

API Changes

  • Added the Mint.disableMemoryPressureMonitoring method.

Version 5.2.0

Released 11/09/2016

What's New

API Changes

  • Removed the MintActivity class.
  • The Mint.initAndStartSession and Mint.initAndStartSessionHEC methods now take an application instance (android.app.Application app ) as the first parameter rather than a context (android.content.Context context).
  • Added the Mint.setLocation(myLocation) method.
  • Added Mint.setLocation(myLatitude, myLongitude, myLocationTimestamp) to the possible hybrid API calls for WebView monitoring.

Version 5.1.0

Released 8/8/2016

What's New

  • How you use the Gradle plugin has changed. You also have the option to use instrumentation that intercepts network calls. For details, see Use the Gradle plugin for Android.
  • Transactions are now tracked using a transaction ID. As a result, transaction names no longer need to be unique. For details, see Monitor transactions.
  • You can now create timers to track the elapsed time of activities, in nanoseconds. For details, see Create timers.
  • You can now report Application Not Responding occurrences (ANRs). For details, see Report ANRs.
  • New fields have been added to the fields that MINT collects using the MINT SDKs. For a detailed list, see List of data fields in the Splunk MINT Overview manual.

API Changes

  • Added the Mint.timerStart(name) and Mint.timerStop(id) methods.
  • Added the Mint.startANRMonitoring(timeout, ignoreDebugger) method.
  • The Mint.transactionStart method returns a transaction ID.
  • The id parameter replaced the name parameter for the Mint.transactionCancel and Mint.transactionStop methods.

Version 5.0.0

Released 03/21/2016

What's New

API Changes

  • Added the initAndStartSessionHEC method to initialize the SDK for the HTTP Event Collector. For details, see Add Splunk MINT to your Android project.
  • Renamed the enableDebug method to enableDebugLog.
  • Renamed the logExceptionMap and logExceptionMessage methods to logException to use the same overload name.
  • Added the logView(view, key, value) method.

Last modified on 28 January, 2019
API Reference   Known issues for Splunk MINT SDK for Android 5.2.5

This documentation applies to the following versions of Splunk MINT SDK for Android (Legacy): 5.2.x

Was this topic useful?

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters