Splunk Enterprise

VMware Carbon black cloud '__cbc_version__' is not defined

mich
Engager

I am trying to connect my carbon black cloud to Splunk. 

I installed the prerequisite Splunk Common Information Model.

But when I am trying to test the Api token, I get an error:

ERROR log_level=ERROR exception='name '__cbc_version__' is not defined' exception_type='<class 'NameError'>' filename='vmware_cbc_api_test_conn.py' exception_line='468' args='name

'__cbc_version__' is not defined'

Hoping to your prompt reply!

 

0 Karma
1 Solution

livehybrid
SplunkTrust
SplunkTrust

Hi @mich 

This sounds like a Python issue within the app rather than something we would be able to help resolve unfortunately. Please contact the app developers by email: cb-developer-network@vmware.com and they can hopefully help you.

Please remember to let them know the App version and Splunk version you are using.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

View solution in original post

0 Karma

aplura_llc_supp
Path Finder

Hello!

1. What version of Splunk are you using (Cloud or Enterprise and version number), and what version of the App?

2. Do you have multiple apps installed? TA/App/IA ? 

 

These will help pin point the issue. This is a Python import error, but the files should all be there.

In the latest version, that variable is only found in "bin/vmware_cbc_api_test_conn.py", which tests the connection to VMWare CBC. That variable is in turn imported from "lib/cbc_sdk/__init__.py".
This tells me there is a possible library import issue. Note: Only 1 (ONE) of TA/App/IA should be installed on a server. Do not install TA and IA, the IA contains all the TA information.

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @mich 

This sounds like a Python issue within the app rather than something we would be able to help resolve unfortunately. Please contact the app developers by email: cb-developer-network@vmware.com and they can hopefully help you.

Please remember to let them know the App version and Splunk version you are using.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

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!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

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

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 ...