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

Kat
Observer

were you able to resolve this? 

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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...