All Apps and Add-ons

Splunk MINT Add-on: What is the token I need to pass to configure data collector authentication?

Communicator

Hi,
i just installed Splunk MINT Add-on and I am trying to configure data collector under data inputs->default

this is the value i passed
MINT Data Collector Token

[[Mint sharedInstance] initAndStartSessionWithAPIKey:@"1ec71f8b"];

after passing when i search, getting the below error

2016-12-14 16:45:14,161 CRITICAL [mi_base.py] Modular input [mi_cds://default] failed: [Data Collector authentication exception '('Connection aborted.', gaierror(11004, 'getaddrinfo failed'))']

what is the exact token i need to pass?

0 Karma
1 Solution

Splunk Employee
Splunk Employee

Start here with MINT Overview and complete Steps 1 -7 under How do I monitor mobile apps with Splunk MINT? Before you can pull data into Splunk, integrate SDKs and confirm data at MINT Management Console. Once projects are setup, continue with Set up the Splunk MINT Add-on to pull data from the MINT Data Collector process.

View solution in original post

0 Karma

Splunk Employee
Splunk Employee

Start here with MINT Overview and complete Steps 1 -7 under How do I monitor mobile apps with Splunk MINT? Before you can pull data into Splunk, integrate SDKs and confirm data at MINT Management Console. Once projects are setup, continue with Set up the Splunk MINT Add-on to pull data from the MINT Data Collector process.

View solution in original post

0 Karma

Splunk Employee
Splunk Employee

Log in to MINT Management Console.
Click Account > Account Info, and then click Usage.
Under MINT Data Collector token, click Generate Token if a token has not yet been generated.
Copy the token string.

The token string should look something like this: MINT Data Collector Token: 673c93x4c90ac044z147b8b

http://docs.splunk.com/Documentation/MintAddon/2.2.0/UserGuide/Install#Install_the_Splunk_MINT_Add-o...

0 Karma

Communicator

here is my token inputs.conf

[mi_cds://default]
cds_token = 9c71d2dc594b239717725a8
disabled = 0

i restarted my splunk instance.when i check index,still i see below error not sure whether it is valid or not

index=_internal source=*mint.log

4/16
6:45:41.395 PM

2016-12-14 18:45:41,395 CRITICAL [mi_base.py] Modular input [mi_cds://default] failed: [Data Collector authentication exception '('Connection aborted.', gaierror(11004, 'getaddrinfo failed'))']
host = USTX10300L01103 source = C:\Program Files\Splunk\var\log\splunk\mint.log sourcetype = mint-3
12/14/16
6:45:41.395 PM

2016-12-14 18:45:41,395 ERROR [cds_tokens_handler.py] Data Collector authentication exception: ('Connection aborted.', gaierror(11004, 'getaddrinfo failed'))
host = USTX10300L01103 source = C:\Program Files\Splunk\var\log\splunk\mint.log sourcetype = mint-3
12/14/16
6:45:41.309 PM

2016-12-14 18:45:41,309 INFO [connectionpool.py] Starting new HTTPS connection (1): au

0 Karma

Splunk Employee
Splunk Employee
0 Karma

Communicator

I followed this link http://docs.splunk.com/Documentation/MintAddon/2.2.0/UserGuide/Install#Set_the_MINT_Data_Collector_t...

and here is the full token i have generated

[[Mint sharedInstance] initAndStartSessionWithAPIKey:@"1ec71f8b"];

In MINT Data Collector Token, paste the token string you copied above
what is the exact token string here?

0 Karma
Don’t Miss Global Splunk
User Groups Week!

Free LIVE events worldwide 2/8-2/12
Connect, learn, and collect rad prizes
and swag!