All Apps and Add-ons

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

rajgowd1
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

croyal_splunk
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

croyal_splunk
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

croyal_splunk
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

rajgowd1
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

croyal_splunk
Splunk Employee
Splunk Employee
0 Karma

rajgowd1
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
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!