Security

Splunk MINT: How to set a user identification string (userIdentifier) after initializing Splunk?

timgcarlson
New Member

I'm initializing and starting MINT in the app delegate. I want to use a user identification string that they will enter on the first launch of the app. I will not have this string until after they enter it in. It is saved to the database, so on future app launches I can get this product key in the app delegate, but not the first time the app delegate launches (on the first ever app launch).

My question is, if the userIdentifier has to be set before the init, how should I go about initializing Splunk on this first app launch, and setting the userIdentifier after the fact? Can I simply reinitialize Splunk once I have the userIdentifier?

Tags (5)
0 Karma

croyal_splunk
Splunk Employee
Splunk Employee

For the issue "can't set the userIdentifier after initialization. Don't have the data until after the first run." We'd recommend using some sort of default value, like 'first_time_run' to set the userIdentifier when you don't know it. On subsequent runs, you can place the correct value.  This way, you can capture all the data for the first time run and set the correct value on subsequent runs.

0 Karma
Get Updates on the Splunk Community!

New Case Study Shows the Value of Partnering with Splunk Academic Alliance

The University of Nevada, Las Vegas (UNLV) is another premier research institution helping to shape the next ...

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...