Getting Data In

Splunk add-on save checkpoint

nareshkumarg
Path Finder

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
1 Solution

harsmarvania57
Ultra Champion

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

harsmarvania57
Ultra Champion

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.

nareshkumarg
Path Finder

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

0 Karma

nareshkumarg
Path Finder

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

0 Karma

harsmarvania57
Ultra Champion

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
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...