Reputation: 6762
I am trying to use ingest code inside a kusto function to insert record into a kusto table. I see the below error while running the query. Is there option to use ingest inside a kusto function?
.create function with (docstring = "test ingest") Insertbackups {
.ingest inline into table backup <|
"test", 2, "Succeeded", 1, 2, 1.1, 3, false
}
Error: A recognition error occurred. Token: .
Upvotes: 0
Views: 385
Reputation: 25995
That isn't supported. You can find the full explanation in the following post: Not able to have commands in User-Defined functions in Kusto
Upvotes: 2