- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
vinay3006
Engager
03-25-2020
06:47 AM
Hi
I have a python code which pulls data from a source using REST API and updates the KVStore collection. However i want this to run on a period basis say once in 24 hours. What is the best way to schedule this?
Regards,
V
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
03-25-2020
07:26 AM
You could use cron or you could create a scripted input that runs your python daily. I prefer the latter.
---
If this reply helps you, Karma would be appreciated.
If this reply helps you, Karma would be appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
03-25-2020
07:26 AM
You could use cron or you could create a scripted input that runs your python daily. I prefer the latter.
---
If this reply helps you, Karma would be appreciated.
If this reply helps you, Karma would be appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
vinay3006
Engager
03-25-2020
07:35 AM
for scripted inputs, I do not have any data to index, i would like to use only the kvstore collections. Is it possible to run the scripts without indexing data?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
03-25-2020
09:52 AM
If the script does not write anything to stdout then nothing will be indexed.
---
If this reply helps you, Karma would be appreciated.
If this reply helps you, Karma would be appreciated.
