def parse_data_and_send_to_sentinel(self, data):
        """Parse data and send it to sentinel.

        Args:
            data (dict): Data received from ExtraHop webhook.

        Raises:
            ExtraHopException: raises when any error occurs.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            body = json.dumps(data)
            self.microsoftsentinel.post_data(body=body, log_type=DETECTIONS_TABLE_NAME)
            applogger.info(
                "{}(method={}) Detections data is ingested into {} table of log analytics workspace.".format(
                    self.logs_starts_with, __method_name, DETECTIONS_TABLE_NAME
                )
            )
            return "Data ingetsed successfully to Microsoft Sentinel log analytics workspace."
        except ExtraHopException as err:
            applogger.error(
                "{}".format(
                    self.error_logs.format(self.logs_starts_with, __method_name, err)
                )
            )
            raise ExtraHopException(err)
        except Exception as err:
            applogger.error(
                "{}".format(
                    self.error_logs.format(self.logs_starts_with, __method_name, err)
                )
            )
            raise ExtraHopException(err)
Parse data and send it to sentinel.

        Args:
            data (dict): Data received from ExtraHop webhook.

        Raises:
            ExtraHopException: raises when any error occurs.
        
Solutions/ExtraHop/Data Connectors/ExtraHopDataConnector/ExtraHopSentinelActivity/extrahop.py