All Apps and Add-ons

TA-uas_parser: Why am I getting an error trying to update cache?

henry_ty_leung
Explorer

Hi there,

I tried the command below as suggested from the documentation page, however, an error was prompted. Any ideas?
Thank you!

D:\Program Files\Splunk\etc\apps\TA-uas_parser\bin>"D:\Program Files\Splunk\"bin
\splunk cmd python update_cache.py
Traceback (most recent call last):
  File "update_cache.py", line 4, in 
    results = uas_parser.updateData()
  File "D:\Program Files\Splunk\etc\apps\TA-uas_parser\bin\uasparser.py", line 2
65, in updateData
    raise UASException("Failed to get version of lastest data")
uasparser.UASException: Failed to get version of lastest data
Tags (1)

jpayne
Explorer

The data source in question went subscription based and changed the URL.

Update_cache looks for a version number at: http://user-agent-string.info/rpc/get_data.php?key=free&format=ini&ver=y however, that now returns:

ERROR 404 - These data are not longer available on user-agent-string.info, please look at http://udger.com/resources/download

Once you purchase a subscription, you would need to modify the URLs in the uasparser.py file according to:
https://udger.com/support/documentation/?doc=31

cord_thomas
Explorer

Were you able to resolve this? I am on Linux but running into the same problem. Thanks in advance.

0 Karma

prudraraju
New Member

I am also getting the same error. Any one resolved this issue?

0 Karma

cord_thomas
Explorer

As a follow up, in my case, my splunk instance is actively accumulating log data in real time. Might this be part of the problem?

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...