diff --git a/plugins/callback/loganalytics_ingestion.py b/plugins/callback/loganalytics_ingestion.py index 6b78996cb6..e58fc1bf45 100644 --- a/plugins/callback/loganalytics_ingestion.py +++ b/plugins/callback/loganalytics_ingestion.py @@ -138,6 +138,7 @@ examples: | ''' import getpass +import json try: import requests except ImportError as exception: @@ -265,8 +266,10 @@ class AzureLogAnalyticsIngestionSource(object): "Result": result._result, "Session": self.session }] + # Display event data - display.vvv(f"Event Data :{str(event_data)}") + # The data displayed here can be used as a sample file in order to create the table's schema. + display.vvv(f"Event Data: {json.dumps(event_data)}") # Send the event data using the new Logs Ingestion API method self.send_event(event_data)