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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...