Getting Data In

How do I run a Linux or Python script to load files into Splunk?

asunder
New Member

I have been looking for ways to load files into directories and access them by running scripts, either Python or Linux. Can someone answer where exactly does Linux scripting or Python fall in place?

0 Karma

ChrisG
Splunk Employee
Splunk Employee

I recommend that you read the Modular inputs overview topic in the docs, to determine whether you want to stick with a scripted input or create modular input.

The information about scripted inputs starts with the Scripted inputs overview.

To add a scripted input to your inputs, see Get data from APIs and other remote data interfaces through scripted inputs.

0 Karma

sundareshr
Legend
0 Karma
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...