Getting Data In

Why does TA-lastpass not index any data after setup?

masonmorales
Influencer

Installed per setup instructions @ https://splunkbase.splunk.com/app/2633/#/documentation

SETUP:
Run "setup" under app management from within Splunk either at the time of install or after.
a. Enter your CustomerID as the Username.
b. Enter your apiKey as the password.
c. Enter lastpass as the realm.
Decide if the default index main is acceptable.
If you desire a different index you should.
a. Copy the default/inputs.conf to local/inputs.conf and edit the index field.
Edit bin/lastpass-log.py in the main section to put your LastPass CustomerID into the username field
username = 'ChangeMeTOCustomerID'

No data is indexed.

Labels (1)
Tags (1)
0 Karma
1 Solution

masonmorales
Influencer

Found that lastpass-log.py makes REST calls to https://lastpass.com/enterpriseapi.php

Resolution:
Updated ACLs to allow outbound connections from Splunk server to lastpass.com on TCP 443

@starcher Please add a step for checking network connectivity to lastpass.com over TCP 443 to the Setup Docs.

View solution in original post

0 Karma

masonmorales
Influencer

Found that lastpass-log.py makes REST calls to https://lastpass.com/enterpriseapi.php

Resolution:
Updated ACLs to allow outbound connections from Splunk server to lastpass.com on TCP 443

@starcher Please add a step for checking network connectivity to lastpass.com over TCP 443 to the Setup Docs.

0 Karma

starcher
Influencer

That is correct, you have to allow traffic to services you wish to reach. I'll put a note in the readme next time I touch that project. And I'll try to do that update in a week or so. Thanks!

0 Karma

masonmorales
Influencer

Thanks George. A couple other things I ended up doing:

1) Added "#!/usr/bin/env python" before line 1 of lastpass-log.py
2) Make sure SPLUNK_HOME is defined in the OS environment variables (i.e. .bashrc in *nix)

0 Karma

princemanto2580
Path Finder

the file lastpass-log.py not located under bin path. 

Even, trying to save the inputs but not showing in UI as it's saved. But in backend inputs.conf showing value saved.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...