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
Communicator

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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...