Getting Data In
Highlighted

Splunk add-on save checkpoint

Engager

Hi All,

I managed to store and retrieve data using the following python command.

 # save checkpoint
 helper.save_check_point(key, state)
 # delete checkpoint
 helper.delete_check_point(key)
 # get checkpoint
 state = helper.get_check_point(key)

I would like to know where the data is stored and how can I check the value on Splunk.

I was checking under lookup with the name and source given for the add-on I was working on, but could not find it.

Regards,
Naresh

0 Karma
Highlighted

Re: Splunk add-on save checkpoint

SplunkTrust
SplunkTrust

Hi,

Usually checkpoint stored in $SPLUNK_HOME/var/lib/splunk/modinputs/<some_name_provided_by_developer>/ , it looks like you are asking about Palo-Alto add-on.

View solution in original post

Highlighted

Re: Splunk add-on save checkpoint

Engager

I have developed my own add on and I want to check the value to validate the functioning of my python script.

0 Karma
Highlighted

Re: Splunk add-on save checkpoint

SplunkTrust
SplunkTrust

Have you looked at the path which I have provided? If you can't find it then you need to provide your full python code (Hide sensitive data).

0 Karma
Highlighted

Re: Splunk add-on save checkpoint

Engager

Thanks a lot @harsmarvania57 I was able to find the value which was stored with base64.

0 Karma
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.