All Apps and Add-ons

Splunk-add-on-builder - python script

haripriyasarve1
Explorer

I wrote python script for modual input in splunk add-on builder, as of now i am able to fetch logs but each time I run, the same logs are indexed in to indexer. I want to implement code in such a way, if there is change in log data only then it has to index. Can some one please help me.

0 Karma

tauliang
Communicator

Use data checkpoints in your modular inputs. An example using it could be found in Splunk Add-on for Bamboo if my memory serves me right. Look in the bin folder for the largest Python code file. Good luck!

to4kawa
Ultra Champion

make the file by python, and index the file.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...

Operationalizing TDIR: Building a More Resilient, Scalable SOC

Optimizing SOC workflows with a unified, risk-based approach to Threat Detection, Investigation, and Response ...

Introducing .conf Stories Series!

“.conf Stories” Series – First Feature: Rich Mahlerwein   Every year .conf brings together some of the most ...