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.

Disable network monitoring

Normally, Splunk MINT monitors all HTTP/HTTPS network calls. You can disable network monitoring entirely. Or, disable monitoring just for specific URLs by adding them to a monitoring deny list to ignore any requests to these URLs. For example, you can add "www.facebook.com" to your deny list to ignore requests to this site.

Notes
  • If you use server-side sockets, you should disable network monitoring entirely when using the MINT SDK for Android as a library. (This issue does not apply when using the Gradle plugin for Android.)
  • Currently, there are known compatibility issues with network monitoring and certain external libraries such as OkHttp, resulting in crashes. Splunk is currently working on this issue, but until it is resolved, disable network monitoring entirely if you experience this issue.
  • To disable network monitoring entirely, use the disableNetworkMonitoring() method before the initAndStartSession() or initAndStartSessionHEC() method as follows:
  • Mint.disableNetworkMonitoring();
    Mint.initAndStartSession(this.getApplication(), "YOUR_API_KEY");
    
  • To add a URL to the network monitoring deny list, use the addURLToBlackList(url) method before the initAndStartSession() or initAndStartSessionHEC() method as follows:
  • Mint.addURLToBlackList("www.facebook.com");
    Mint.initAndStartSession(this.getApplication(), "YOUR_API_KEY");
    
Last modified on 10 June, 2020
Report the last error and total crashes   Report network calls manually

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