Skip to content

Commit

Permalink
Merge pull request #2410 from MicrosoftDocs/main638633776102702115syn…
Browse files Browse the repository at this point in the history
…c_temp

For protected branch, push strategy should use PR and merge to target branch method to work around git push error
  • Loading branch information
learn-build-service-prod[bot] authored Oct 1, 2024
2 parents 76b7f94 + 92d3b75 commit b7b57b2
Showing 1 changed file with 26 additions and 17 deletions.
43 changes: 26 additions & 17 deletions data-explorer/kusto/tools/kusto-explorer-using.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Using Kusto.Explorer
description: Learn how to use Kusto.Explorer
ms.reviewer: alexans
ms.topic: conceptual
ms.date: 09/23/2024
ms.date: 10/01/2024
---

# Using Kusto.Explorer
Expand Down Expand Up @@ -235,11 +235,32 @@ Kusto.Explorer supports several command-line arguments in the following syntax (

[*LocalScriptFile*] [*QueryString*]

* *LocalScriptFile* is the name of a script file on your local machine, which must have the extension `.kql`. If such a file exists, Kusto.Explorer automatically loads this file when it starts up.
* *QueryString* is a string that uses HTTP query string formatting. This method provides more properties, as described in the following table.
#### Command-line arguments

|Command-line argument |Description |
|-----------|----------------------------------------|
| *LocalScriptFile* | The name of a script file on your local machine, which must have the extension `.kql`. If the file exists, Kusto.Explorer automatically loads the file when it starts up. |
| *QueryString* | A string that uses HTTP query string formatting. This method provides more properties, as described in the following table.|

#### Querystring arguments

|Argument |Description |
|----------|------------------------------------------------------|
|**Query to execute** |
|`query` |The query to execute (gzipped, then base64-encoded; see [Getting shorter links](#getting-shorter-links)). If not specified, uses `querysrc`.|
|`querysrc`|The URL of a file/blob holding the query to execute.|
|**Connection to the Kusto cluster** |
|`uri` |The connection string of the Kusto cluster to connect to. |
|`name` |The display name of the connection to the Kusto cluster. |
|**Connection group** |
|`path` |The URL of a connection group file to download (URL-encoded). |
|`group` |The name of the connection group. |
|`filename`|The local file holding the connection group. |

#### Example

:::moniker range="azure-data-explorer"
For example, to start Kusto.Explorer with a script file called `c:\temp\script.kql`
To start Kusto.Explorer with a script file called `c:\temp\script.kql`
and configured to communicate with cluster `help`, database `Samples`, use the
following command:

Expand All @@ -249,7 +270,7 @@ Kusto.Explorer.exe c:\temp\script.kql "uri=https://help.kusto.windows.net/Sample

::: moniker-end
:::moniker range="microsoft-fabric"
For example, to start Kusto.Explorer with a script file called `c:\temp\script.kql`
To start Kusto.Explorer with a script file called `c:\temp\script.kql`
and configured to communicate with a specific group and database, use the
following command:

Expand All @@ -259,18 +280,6 @@ Kusto.Explorer.exe c:\temp\script.kql "uri=https://<baseaddress>/groups/<GroupID

::: moniker-end

|Argument |Description |
|----------|--------------------------------------------------------------------------|
|**Query to execute** |
|`query` |The query to execute (gzipped, then base64-encoded; see [Getting shorter links](#getting-shorter-links)). If empty, use `querysrc`.|
|`querysrc`|The HTTP URL of a file/blob holding the query to execute (if `query` is empty).|
|**Connection to the Kusto cluster** |
|`uri` |The connection string of the Kusto cluster to connect to. |
|`name` |The display name of the connection to the Kusto cluster. |
|**Connection group** |
|`path` |The URL of a connection group file to download (URL-encoded). |
|`group` |The name of the connection group. |
|`filename`|The local file holding the connection group. |

## Manage databases, tables, or function authorized principals

Expand Down

0 comments on commit b7b57b2

Please sign in to comment.