Getting Data In

Calling 3rd party script at index or search time

jcbrendsel
Path Finder

Hi,

We use a 3rd party python library (ua_parser) that does a great job of parsing the myriad useragents that hit our site.

Is it possible to call such a library at either index or search time?

Obviously performance might be an issue, but I wanted to at least see if it was possible.

thanks.

Jon.

Tags (3)

Ayn
Legend

Index-time, no. Luckily, as it would have horrible performane implications 😉

Search-time, certainly. Set up a script that serves as a dynamic lookup. More information in the docs here: http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Addfieldsfromexternaldatasources#Set_up...

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!

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

The Data Connection - November 2026

Machine data keeps growing, and every new source brings practical questions: where should it live, how ...

Splunk SecOps on AWS: A New Agentic SecOps Experience

Key takeaways At AWS:reinvent, Splunk, in partnership with Amazon Web Services (AWS), announced Splunk SecOps ...