Getting Data In

Cloud360 AWS set up

JagsP
Explorer

I am setting up Cloud360 45c version in my dev environment which is standalone server. I have configured all the files and look ups but when i am trying to run the main.py script it is giving me below error:

splunk@s-9ee55895 scripts]$ /opt/splunk/bin/splunk cmd python3 main.py METRIC
Traceback (most recent call last):
  File "/opt/splunk/etc/apps/acn_cloud360-aws_edc_rhel_7.x_tenant01/bin/scripts/../../lib/pandas/core/indexes/base.py", line 3361, in get_loc
    return self._engine.get_loc(casted_key)
  File "pandas/_libs/index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'enabled'

 

The above exception was the direct cause of the following exception:

 

Traceback (most recent call last):
  File "main.py", line 12, in <module>
    from aws_manager import Cloud360_AWS_Manager
  File "/opt/splunk/etc/apps/acn_cloud360-aws_edc_rhel_7.x_tenant01/bin/scripts/aws_manager.py", line 10, in <module>
    import aws_detail_structure_processor as DetailStructureProcessor
  File "/opt/splunk/etc/apps/acn_cloud360-aws_edc_rhel_7.x_tenant01/bin/scripts/aws_detail_structure_processor.py", line 50, in <module>
    raw_metric_catalog_df = raw_metric_catalog_df[raw_metric_catalog_df['enabled'] == 0]
  File "/opt/splunk/etc/apps/acn_cloud360-aws_edc_rhel_7.x_tenant01/bin/scripts/../../lib/pandas/core/frame.py", line 3458, in __getitem__
    indexer = self.columns.get_loc(key)
  File "/opt/splunk/etc/apps/acn_cloud360-aws_edc_rhel_7.x_tenant01/bin/scripts/../../lib/pandas/core/indexes/base.py", line 3363, in get_loc
    raise KeyError(key) from err
KeyError: 'enabled'

Can anyone help me what i am missing here ?

Labels (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@JagsP- I don't see this App on the Splunkbase. Where did you get this App??

( The reason I'm asking is because the error is coming from the Python code within this App.)

 

I hope this helps!!!

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...