All Apps and Add-ons

Problem installing TA-uas_parser

psbailey86
Explorer

I am attempting to get this TA working but am encountering errors when trying to update the cache via the update_cache.py script. My Splunk servers do not have internet access so I installed this TA locally on my windows 7 machine where I have splunk installed as well to test with. I am encountering errors any way I try this. Any help would be greatly appreciated here this is just what I have needed for a project I am working on.

Errors I am getting:

running the following command from the command prompt in windows:
c:\$Splunk_home\etc\apps\TA-uas_parser\bin $Splunk_home\bin\python.exe update_cache.py

Error:
ImportError: No module named site

When installing python and running the command I get this:

c:\python.exe update_cache.py

File "update_cache.py", line 6
print "Cache data updated."
SyntaxError: invalid syntax

I really need to get this addon working it would help us out a ton!
Thanks in advance!

Tags (1)
0 Karma

pmccomb
Explorer

I am having this same issue. Is there an update for a windows machine?

0 Karma

dshpritz
SplunkTrust
SplunkTrust

Hey pmccomb,

Sorry, I haven't had a Windows system to test on. I'll try to get to it soon.

Dave

0 Karma

psbailey86
Explorer

Dave thanks for the response. I ended up installing this on a linux instance of Splunk and generated the cache file, and then copying it over to the other Splunk server. Not ideal but now it works and i was able to accomplish what I needed.

Thanks for the response.

0 Karma

dshpritz
SplunkTrust
SplunkTrust

Hello psbailey,

I'm Dave and TA-uas_parser is my fault.
I'm afraid I never tested the TA on a Windows install. I don't have a VM handy, but I can try to test it soon. As an alternative, you can also take a look at the TA-browscap addon, which performs a similar function, but uses a different library.

Thanks,

Dave

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!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...