All Apps and Add-ons

App made on the Splunk Add On Builder not logging

jfgomez0912
Explorer

Hi everyone,

I have a trouble with an app that we made in the Splunk Add On Builder, the app no longer loggs since we update to Splunk 8. This app contains a custom alert action that logs some information messages to the internal by using helper.log_info function in python.

Do you have any idea about this issue? Where is located the AOB's helper library? Any suggestions?

Thanks.

Labels (3)
0 Karma

vikramyadav
Contributor

Hi @jfgomez0912 

Is your Add-on have the latest python3 code? did you update your Add-on too?
If not then I recommend you to update your add-on, Probably you need to just update some library.

--------------------------------------------------------

If this helps your like will be appreciated😊

 

0 Karma

jfgomez0912
Explorer

Thanks @vikramyadav for your response, but yes, the add-on use the latest python3 code and the add-on is updated too.

Also, I tried to create a new add-on and the logging doesn't work for alert actions add-ons, but the logging for data input add-ons worked... so I don't know if the problem is related to some python libraries that splunk have.

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!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...