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!

Make your Splunk investment work harder with Optimization Advisor

Value Insights brings usage evidence and practical recommendations together to help customers make more ...

How Splunk AI Assistant Is Transforming Investigations: Insights from .conf26

At .conf26 in Denver, I spent much of my time in conversation with Splunk customers about Splunk AI Assistant. ...

Make Your Machine Data AI-Ready in Splunk

Every team is getting ready for AI agents.   Thursday, November 12, 2026  |  11AM  PST / 2PM EST   ...