From 643c8383f7cca31899c48f572ba80da761294870 Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Sun, 24 Nov 2024 11:57:29 +0200
Subject: [PATCH 01/17] Added link and moniker pivots
---
data-explorer/kusto/includes/direct-ingestion-note.md | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index c3123dd1e1..aed5595f85 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -1,7 +1,15 @@
---
ms.topic: include
ms.date: 08/11/2024
+monikerRange: "azure-data-explorer || microsoft-fabric"
---
+:::moniker range="azure-data-explorer"
> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios.
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](../../ingest-data-overview.md).
+:::moniker-end
+
+:::moniker range="microsoft-fabric"
+> [!NOTE]
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](/fabric/real-time-intelligence/ingest-data-overview).
+:::moniker-end
From 5f561ba6d9e0af3c160b63eff61b7cbb894b196f Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Sun, 24 Nov 2024 12:09:32 +0200
Subject: [PATCH 02/17] removed moniker
---
data-explorer/kusto/includes/direct-ingestion-note.md | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index aed5595f85..19454a718f 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -4,12 +4,5 @@ ms.date: 08/11/2024
monikerRange: "azure-data-explorer || microsoft-fabric"
---
-:::moniker range="azure-data-explorer"
> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](../../ingest-data-overview.md).
-:::moniker-end
-
-:::moniker range="microsoft-fabric"
-> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](/fabric/real-time-intelligence/ingest-data-overview).
-:::moniker-end
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](../../ingest-data-overview.md).
\ No newline at end of file
From 7ad96295dafd85cbf2c6af26b3152d2c02ac9191 Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Sun, 24 Nov 2024 12:14:51 +0200
Subject: [PATCH 03/17] fix
---
data-explorer/kusto/query/parse-json-function.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/data-explorer/kusto/query/parse-json-function.md b/data-explorer/kusto/query/parse-json-function.md
index 6bda97af36..8eea15f892 100644
--- a/data-explorer/kusto/query/parse-json-function.md
+++ b/data-explorer/kusto/query/parse-json-function.md
@@ -38,7 +38,6 @@ An object of type `dynamic` that is determined by the value of *json*:
## Example
-In the following example, when `context_custom_metrics` is a `string` that looks like this:
In the following example, when `context_custom_metrics` is a `string` that looks like this:
```json
From c3be12e6342127fcd6a0d89876b1d928b9315408 Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Sun, 24 Nov 2024 12:24:52 +0200
Subject: [PATCH 04/17] fix links
---
data-explorer/kusto/includes/direct-ingestion-note.md | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index 19454a718f..657883fb7c 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -1,8 +1,15 @@
---
ms.topic: include
ms.date: 08/11/2024
-monikerRange: "azure-data-explorer || microsoft-fabric"
+monikerRange: "microsoft-fabric || azure-data-explorer"
---
+:::moniker range="microsoft-fabric"
> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](../../ingest-data-overview.md).
\ No newline at end of file
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](/real-time-intelligence/ingest-data-overview).
+:::moniker-end
+
+:::moniker range="azure-data-explorer"
+> [!NOTE]
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](/azure/data-explorer/ingest-data-overview).
+:::moniker-end
From 9820133d906c1fb4e10b66934dbbfaa76ba80001 Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Sun, 24 Nov 2024 12:29:49 +0200
Subject: [PATCH 05/17] fabric doc not merged yet so link to ADX doc for now
---
data-explorer/kusto/includes/direct-ingestion-note.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index 657883fb7c..8c140c4b41 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -3,10 +3,10 @@ ms.topic: include
ms.date: 08/11/2024
monikerRange: "microsoft-fabric || azure-data-explorer"
---
-
+
:::moniker range="microsoft-fabric"
> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](/real-time-intelligence/ingest-data-overview).
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](/azure/data-explorer/ingest-data-overview).
:::moniker-end
:::moniker range="azure-data-explorer"
From 58a0bc7124253277d3f028f19797a9f5278b906b Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Sun, 24 Nov 2024 12:36:16 +0200
Subject: [PATCH 06/17] remove link for fabric pivot
---
data-explorer/kusto/includes/direct-ingestion-note.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index 8c140c4b41..c7613fa95a 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -6,7 +6,7 @@ monikerRange: "microsoft-fabric || azure-data-explorer"
:::moniker range="microsoft-fabric"
> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. For more information about ingestion options, see [Data ingestion overview](/azure/data-explorer/ingest-data-overview).
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios.
:::moniker-end
:::moniker range="azure-data-explorer"
From be59f184eaf84b62c215b55bc0a2b444b74e82f0 Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Sun, 24 Nov 2024 13:27:26 +0200
Subject: [PATCH 07/17] Test link
---
data-explorer/kusto/includes/direct-ingestion-note.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index c7613fa95a..7443302618 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -6,7 +6,7 @@ monikerRange: "microsoft-fabric || azure-data-explorer"
:::moniker range="microsoft-fabric"
> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios.
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. Look at other For more information about ingestion options, see [Data formats supported for ingestion](../ingestion-supported-formats?view=microsoft-fabric&preserve-view=true).
:::moniker-end
:::moniker range="azure-data-explorer"
From ff66e97ea8d77bf732275fa4c1b7907b22b97a42 Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Sun, 24 Nov 2024 13:34:33 +0200
Subject: [PATCH 08/17] fix link
---
data-explorer/kusto/includes/direct-ingestion-note.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index 7443302618..e0c35c39bb 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -6,7 +6,7 @@ monikerRange: "microsoft-fabric || azure-data-explorer"
:::moniker range="microsoft-fabric"
> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. Look at other For more information about ingestion options, see [Data formats supported for ingestion](../ingestion-supported-formats?view=microsoft-fabric&preserve-view=true).
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. Look at other For more information about ingestion options, see [Data formats supported for ingestion](/kusto/ingestion-supported-formats?view=microsoft-fabric&preserve-view=true).
:::moniker-end
:::moniker range="azure-data-explorer"
From 4314f8ad851357d5247559dfd31747a2ffa0f9fd Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Sun, 24 Nov 2024 13:42:08 +0200
Subject: [PATCH 09/17] test link change
---
data-explorer/kusto/includes/direct-ingestion-note.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index e0c35c39bb..b368985309 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -6,7 +6,7 @@ monikerRange: "microsoft-fabric || azure-data-explorer"
:::moniker range="microsoft-fabric"
> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. Look at other For more information about ingestion options, see [Data formats supported for ingestion](/kusto/ingestion-supported-formats?view=microsoft-fabric&preserve-view=true).
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. Look at other For more information about ingestion options, see [Data formats supported for ingestion](/kusto/ingestion-supported-formats?view=fabric&preserve-view=true).
:::moniker-end
:::moniker range="azure-data-explorer"
From cc6b6dfd899320d1c5bb95d5dffac0fd143c19bf Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Tue, 26 Nov 2024 10:20:51 +0200
Subject: [PATCH 10/17] New examples added
---
data-explorer/kusto/query/not-function.md | 63 ++++++++++++++++++++---
1 file changed, 57 insertions(+), 6 deletions(-)
diff --git a/data-explorer/kusto/query/not-function.md b/data-explorer/kusto/query/not-function.md
index 132e373210..3be0b0f778 100644
--- a/data-explorer/kusto/query/not-function.md
+++ b/data-explorer/kusto/query/not-function.md
@@ -27,16 +27,67 @@ Reverses the value of its `bool` argument.
Returns the reversed logical value of its `bool` argument.
-## Example
+## Examples
-> Run the query
+The following query returns the number of events that are not "Tornado", per state.
+
+:::moniker range="azure-data-explorer"
+> Run the query
+:::moniker-end
```kusto
-print not(false) == true
+StormEvents
+| where not(EventType == "Tornado")
+| summarize count() by State
```
**Output**
-|print_0|
-|--|
-|true|
+| State | Count |
+|--|--|
+| TEXAS | 4485 |
+| KANSAS | 3005 |
+| IOWA | 2286 |
+| ILLINOIS | 1999 |
+| MISSOURI | 1971 |
+| GEORGIA | 1927 |
+| MINNESOTA | 1863 |
+| WISCONSIN | 1829 |
+| NEBRASKA | 1715 |
+| NEW YORK | 1746 |
+| ... | ... |
+
+The following query excludes records where either the EventType is "Hail", *or* the State is "Alaska".
+
+:::moniker range="azure-data-explorer"
+> Run the query
+:::moniker-end
+
+```kusto
+StormEvents
+| where not(EventType == "Hail" or State == "Alaska")
+```
+
+The next query excludes records where both the EventType is "Hail" *and* the State is "Alaska" simultaneously.
+
+:::moniker range="azure-data-explorer"
+> Run the query
+:::moniker-end
+
+```kusto
+StormEvents
+| where not(EventType == "Hail" and State == "Alaska")
+```
+
+### Combine with other conditions
+
+You can also combine the not() function with other conditions. The following query returns all records where the EventType is not "Flood" and the property damage is greater than $1,000,000.
+
+:::moniker range="azure-data-explorer"
+> Run the query
+:::moniker-end
+
+```kusto
+StormEvents
+| where not(EventType == "Flood") and DamageProperty > 1000000
+```
From 024552f3cc9a3f13c74a32bdaca0941a2206d3b0 Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Tue, 26 Nov 2024 10:22:12 +0200
Subject: [PATCH 11/17] fix parse
---
data-explorer/kusto/query/parse-json-function.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/data-explorer/kusto/query/parse-json-function.md b/data-explorer/kusto/query/parse-json-function.md
index 6bda97af36..8eea15f892 100644
--- a/data-explorer/kusto/query/parse-json-function.md
+++ b/data-explorer/kusto/query/parse-json-function.md
@@ -38,7 +38,6 @@ An object of type `dynamic` that is determined by the value of *json*:
## Example
-In the following example, when `context_custom_metrics` is a `string` that looks like this:
In the following example, when `context_custom_metrics` is a `string` that looks like this:
```json
From a7435b230c9c6446c22b21eadc53b3c0f55b39ae Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Tue, 26 Nov 2024 10:28:26 +0200
Subject: [PATCH 12/17] acrolinx fixes
---
data-explorer/kusto/query/not-function.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/data-explorer/kusto/query/not-function.md b/data-explorer/kusto/query/not-function.md
index 3be0b0f778..81b5b25050 100644
--- a/data-explorer/kusto/query/not-function.md
+++ b/data-explorer/kusto/query/not-function.md
@@ -21,7 +21,7 @@ Reverses the value of its `bool` argument.
| Name | Type | Required | Description |
|--|--|--|--|
-|*expr*|scalar| :heavy_check_mark:|An expression that evaluates to a boolean value. The result of this expression will be reversed.|
+|*expr*|scalar| :heavy_check_mark:|An expression that evaluates to a boolean value. The result of this expression is reversed.|
## Returns
@@ -29,7 +29,7 @@ Returns the reversed logical value of its `bool` argument.
## Examples
-The following query returns the number of events that are not "Tornado", per state.
+The following query returns the number of events that are not a tornado, per state.
:::moniker range="azure-data-explorer"
> Run the query
@@ -57,7 +57,7 @@ StormEvents
| NEW YORK | 1746 |
| ... | ... |
-The following query excludes records where either the EventType is "Hail", *or* the State is "Alaska".
+The following query excludes records where either the EventType is hail, *or* the state is Alaska.
:::moniker range="azure-data-explorer"
> Run the query
@@ -68,7 +68,7 @@ StormEvents
| where not(EventType == "Hail" or State == "Alaska")
```
-The next query excludes records where both the EventType is "Hail" *and* the State is "Alaska" simultaneously.
+The next query excludes records where both the EventType is hail *and* the state is Alaska simultaneously.
:::moniker range="azure-data-explorer"
> Run the query
@@ -81,7 +81,7 @@ StormEvents
### Combine with other conditions
-You can also combine the not() function with other conditions. The following query returns all records where the EventType is not "Flood" and the property damage is greater than $1,000,000.
+You can also combine the not() function with other conditions. The following query returns all records where the EventType is not a flood and the property damage is greater than $1,000,000.
:::moniker range="azure-data-explorer"
> Run the query
From b2f46e9ee0228854b65b18c543ca0d5496445571 Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Tue, 26 Nov 2024 13:11:42 +0200
Subject: [PATCH 13/17] date
---
data-explorer/kusto/query/not-function.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data-explorer/kusto/query/not-function.md b/data-explorer/kusto/query/not-function.md
index 81b5b25050..c6e2360142 100644
--- a/data-explorer/kusto/query/not-function.md
+++ b/data-explorer/kusto/query/not-function.md
@@ -3,7 +3,7 @@ title: not()
description: Learn how to use the not() function to reverse the value of its boolean argument.
ms.reviewer: alexans
ms.topic: reference
-ms.date: 08/11/2024
+ms.date: 11/26/2024
---
# not()
From 48abc9e767e2e448026d1738295fe289a851a6b8 Mon Sep 17 00:00:00 2001
From: Andy Kopelowitz <165172502+AndyKop@users.noreply.github.com>
Date: Thu, 28 Nov 2024 14:13:19 +0200
Subject: [PATCH 14/17] Update
data-explorer/kusto/includes/direct-ingestion-note.md
---
data-explorer/kusto/includes/direct-ingestion-note.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index b368985309..17c055b96f 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -6,7 +6,7 @@ monikerRange: "microsoft-fabric || azure-data-explorer"
:::moniker range="microsoft-fabric"
> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. Look at other For more information about ingestion options, see [Data formats supported for ingestion](/kusto/ingestion-supported-formats?view=fabric&preserve-view=true).
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. Look at other.
:::moniker-end
:::moniker range="azure-data-explorer"
From ccbb547eb40b01193e324388aaa46db602c882c5 Mon Sep 17 00:00:00 2001
From: Andy Kopelowitz <165172502+AndyKop@users.noreply.github.com>
Date: Thu, 28 Nov 2024 14:19:11 +0200
Subject: [PATCH 15/17] Update
data-explorer/kusto/includes/direct-ingestion-note.md
---
data-explorer/kusto/includes/direct-ingestion-note.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index 17c055b96f..c7613fa95a 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -6,7 +6,7 @@ monikerRange: "microsoft-fabric || azure-data-explorer"
:::moniker range="microsoft-fabric"
> [!NOTE]
-> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios. Look at other.
+> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios.
:::moniker-end
:::moniker range="azure-data-explorer"
From 989aa19155148fefafe38c48f6843864c04ef83e Mon Sep 17 00:00:00 2001
From: Shlomo Sagir <51323195+shsagir@users.noreply.github.com>
Date: Mon, 9 Dec 2024 12:43:31 +0200
Subject: [PATCH 16/17] Update
data-explorer/kusto/includes/direct-ingestion-note.md
---
data-explorer/kusto/includes/direct-ingestion-note.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index c7613fa95a..745228befc 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -1,6 +1,6 @@
---
ms.topic: include
-ms.date: 08/11/2024
+ms.date: 09/12/2024
monikerRange: "microsoft-fabric || azure-data-explorer"
---
From d56dafecd13eb1a82574aecea8bc4dcd83bedb38 Mon Sep 17 00:00:00 2001
From: andykop <165172502+AndyKop@users.noreply.github.com>
Date: Mon, 9 Dec 2024 13:37:10 +0200
Subject: [PATCH 17/17] Updated note to add link to overview doc
---
data-explorer/kusto/includes/direct-ingestion-note.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data-explorer/kusto/includes/direct-ingestion-note.md b/data-explorer/kusto/includes/direct-ingestion-note.md
index 745228befc..78d37bd8f2 100644
--- a/data-explorer/kusto/includes/direct-ingestion-note.md
+++ b/data-explorer/kusto/includes/direct-ingestion-note.md
@@ -3,7 +3,7 @@ ms.topic: include
ms.date: 09/12/2024
monikerRange: "microsoft-fabric || azure-data-explorer"
---
-
+
:::moniker range="microsoft-fabric"
> [!NOTE]
> This ingestion method is intended for exploration and prototyping. Don't use it in production or high-volume scenarios.