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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...