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!

Running multiple macros in the same search

Hi all!I'm trying to run multiple macros in the same search and eventually aggregate the results from each ...

Logic of Compound Subsearch with inputlookup

I'm struggling to create a search using an inputlookup and multiple NOT searches.Background: I have an ...

Tagging Heavy Forwarders

This is a tip, not a question.&nbsp;<span class="lia-unicode-emoji" ...