Tracing Objective-C Methods

You can write very fast programs in Objective-C, but you can also write very slow ones. Performance isn’t a characteristic of a language but of a language implementation, and more importantly, of the programs written in that language. Performance optimization requires that you measure the time to perform a task, then try algorithm and coding changes to make the task faster.

The most important performance issue is the quality of the libraries used in developing applications. Good quality libraries reduce the performance impact. So to help you improve performance in your apps, we’ve updated the Splunk MINT SDK for iOS to provide an easy way to trace a method performance using MACROS.

To trace an Objective-C method, add the MINT_METHOD_TRACE_START …

» Continue reading

Analyzing iOS data with Splunk Enterprise

This article describes in detail the steps to:

  1. configure the iOS library
  2. install Splunk Enterprise and Splunk app to receive data forwarded from iOS mobile devices
  3. basic Splunk searches


  1. Download the logging library from or
  2. Unzip it and drag the splunkmobileanalytics folder into the project
  3. Select Relative to Project at Reference Type, then click Add.
  4. In the AppDelegate interface file (AppDelegate.h), import Splunk.h, like so:
  5. In the AppDelegate implementation file (AppDelegate.m), provide the SPLUNK_HOST_URL and TCP_PORT values in the message
  6. You are set! Splunk Enterprise is now integrated seamlessly into your iOS mobile app!


  1. Download the latest Splunk Enterprise from
  2. Install Splunk Enterprise (in this
» Continue reading

Mobile Analytics (iOS) with Splunk and Storm (Part 2)

In the previous article “Mobile Analytics (iOS) with Storm” , we discussed about sending stacktrace of uncaught exceptions from apps that run on iOS platform into Storm with the STORM REST API. We hope that the article covers the basic steps to help iOS app developers to jumpstart into realizing the potential of making use of Splunk and Storm to help the developers to develop better quality apps.

Great news … iOS developers are now able to send the above-mentioned stacktrace via TCP into both Splunk Enterprise and Storm; and it is very simple to configure this library into iOS app. The breakdown of the steps are as described below:

[1] Create a Splunk Storm …

» Continue reading

Mobile Analytics (iOS) with Storm

As those who have been following articles about mobile analytics with Storm and Splunk already know, there’s been demand for an iOS library to help iOS app developers to debug their apps. I’m happy to announce that the iOS library is now available for use with Storm REST API input. The installation steps to use this libary are trivial
» Continue reading