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

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...