Skip to content

Commit 6007711

Browse files
committedJun 28, 2017
title
1 parent 3e2dd4d commit 6007711

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎articles/log-analytics/log-analytics-log-search-api-python.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Python script to retrieve data from OMS Log Analytics | Microsoft Docs
3-
description: The Log Analytics Log Search API allows any rest API client to retrieve data from a Log Analytics workspace. This article provides a sample Python script using the Log Search API.
2+
title: Python script to retrieve data from Azure Log Analytics | Microsoft Docs
3+
description: The Log Analytics Log Search API allows any REST API client to retrieve data from a Log Analytics workspace. This article provides a sample Python script using the Log Search API.
44
services: log-analytics
55
documentationcenter: ''
66
author: bwren
@@ -18,7 +18,7 @@ ms.author: bwren
1818
---
1919

2020
# Retrieve data from Log Analytics with a Python script
21-
The [Log Analytics Log Search API](log-analytics-log-search-api.md) allows any rest API client to retrieve data from a Log Analytics workspace. This article presents a sample Python script that uses the Log Analytics Log Search API.
21+
The [Log Analytics Log Search API](log-analytics-log-search-api.md) allows any REST API client to retrieve data from a Log Analytics workspace. This article presents a sample Python script that uses the Log Analytics Log Search API.
2222

2323
## Authentication
2424
This script uses a service principal in Azure Active Directory to authenticate to the workspace. Service principals allow a client application to request that the service authenticate an account even if the client does not have the account name. Before running this script, you must create a service principal using the process at [Use portal to create an Azure Active Directory application and service principal that can access resources](../azure-resource-manager/resource-group-create-service-principal-portal.md). You'll need to provide the Application ID, Tenant ID, and Authentication Key to the script.

0 commit comments

Comments
 (0)
Please sign in to comment.