Splunk Dev

is there any size criteria for the splunk package to be scanned using Splunk AppInspect CLI ?

mini
Engager

I have scanned two Splunk packages which is less than 2mb using Splunk AppInspect CLI but when I try to scan another Splunk package i.e more than 100mb size  .It went like an hour then gave me a message like this

LEVEL="CRITICAL" TIME="**********" NAME="root" FILENAME="main.py" MODULE="main" MESSAGE="An unexpected error occurred during the run-time of Splunk App Inspect".

is there any size criteria for the Splunk AppInspect CLI  that should be followed? 

 

 

Labels (1)
0 Karma
1 Solution

venkatasri
SplunkTrust
SplunkTrust

Hey @mini 

There is no such limit seen in docs for Enterprise, for cloud its upto 128 MB so should be close to that. Comparing with your 2 MB it's quite minimal in size. I guess there could be other reasons, have you tried enabling verbose or some level of logging  at python i know it's out-of-the box to find more details.

Reach out to Splunk support if this is a persistent issue. Hope this helps!

 

View solution in original post

venkatasri
SplunkTrust
SplunkTrust

@mini  CLI reference link having --log-level setting enable to DEBUG to find more details . Splunk AppInspect CLI reference | API Reference | Splunk Developer Program

 

venkatasri
SplunkTrust
SplunkTrust

Hey @mini 

There is no such limit seen in docs for Enterprise, for cloud its upto 128 MB so should be close to that. Comparing with your 2 MB it's quite minimal in size. I guess there could be other reasons, have you tried enabling verbose or some level of logging  at python i know it's out-of-the box to find more details.

Reach out to Splunk support if this is a persistent issue. Hope this helps!

 

mini
Engager

Hai  @venkatasri 

Thank you for the help .I tried log level ,It came after skipping almost half of the checks .

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

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...