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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...