iOS Memory Warnings

Memory on mobile devices is a shared resource, and apps that manage memory improperly run out of memory and crash. iOS manages the memory footprint of an application by controlling the lifetime of all objects using object ownership, which is part of the compiler and runtime feature called Automatic Reference Counting (ARC). When you start interacting with an object, you’re said to own that object, which means that it’s guaranteed to exist as long as you’re using it. When you’re done with the object, you relinquish ownership and if the object has no other owners, the OS destroys the object and frees up the memory. Not relinquishing ownership of an object causes memory to leak and the app to crash. …

» Continue reading

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

Splunk MINT SDKs 4.2: Hybrid support, screen tracking & more goodies!

Today at Fluent Conference we are releasing the new version of the Splunk MINT SDKs that bring some new & exciting features.

With Gartner predicting that by 2016 50% of Mobile Apps will be hybrid it’s about the right time to release our support for Hybrid! The market is desperately looking for better tools when it comes to HTML5 performance and we wouldn’t be happier with this release.

The latest version of the Splunk MINT SDKs allows developers to monitor not just the performance of the native side but also what is going on in the Web View. You will have to add our native SDKs into your mobile apps and then write a few lines in order to instrument …

» Continue reading

Introducing Splunk Mobile App 2.0

I am thrilled to announce the availability of Splunk Mobile App 2.0. With the new release, Splunk Mobile App now supports Android phones as well as all iOS devices.

Enterprise Ready 
What’s most exciting to me is that Splunk Mobile App now supports enterprise security requirements for single sign-on and Mobile Device Management compatibility. And with support for Splunk Enterprise search head clustering, Mobile App can now meet the needs of large-scale deployments.

Essentially, Mobile App has now moved from an early adopter curiosity to a fully-fledged enterprise app and bona fide interface to Splunk intelligence.

Screen Shot 2015-02-02 at 8.55.10 AM
Flexibility for Front-Line Admins
The Mobile App allows operations to stay on top of ops status and quickly resolve issues while on the …

» Continue reading

Popular Cisco Networks App Recognized with Splunk “Revolution Award”

The first inkling I had of the usefulness of the Cisco Networks App for Splunk Enterprise (formerly Cisco IOS) came from a Cisco field team who helped their customer get the app working and immediately identified multiple issues with flapping ports. In the months that followed I’ve had the pleasure of getting to know Datametrix senior consultant, Splunk app developer and general rock star Mikael Bjerkeland.

Godfrey Sullivan, Chairman and CEO, Splunk Inc. (L) congratulates Mikael Bjerkeland, Sr. consultant at Datametrix AS on his Revolution Award

Godfrey Sullivan, Chairman and CEO, Splunk Inc. (L) congratulates Mikael Bjerkeland, Sr. Consultant at Datametrix AS (R) on his 2014 Revolution Award

At .conf2014 Mikael was recognized with a much-deserved Splunk 2014 Revolution Award. ComputerWorld Norway profiled the award and the Cisco networking app in a fantastic article (“Norsk programvaresuksess”) that …

» Continue reading

Realtime alerts of mobile app crashlog

In the previous articles, we discussed about how to include the library to forward crashlog from iOS and Android mobile apps into Splunk Enterprise, install a Splunk app to aggregate the forwarded logs from mobile devices and then perform some simple analytics with the indexed data. If you have been following closely the write-ups and Splunk-ing the valuable data from iOS and Android mobile apps, you might be interested to know how to setup an alerting mechanism in the event of a crash. We are going to discuss in particular how to configure realtime alerts via email with PDF attachment using Splunk Enterprise. It takes very little time ...
» 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

CONFIGURE THE iOS LIBRARY

  1. Download the logging library from http://splunk-base.splunk.com/apps/92296/mobile-analytics-with-splunk-storm-ios or  https://github.com/nicholaskeytholeong/splunk-storm-mobile-analytics/blob/master/ios/splunkmobileanalytics.zip
  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!

INSTALL SPLUNK ENTERPRISE AND SPLUNK APP

  1. Download the latest Splunk Enterprise from http://www.splunk.com/download
  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:

CREATE A STORM ACCOUNT
[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