I am trying to ingest my application log data to Azure Data Explorer using Kusto.Data NuGet (C#). I am able to retrieve data using the below method but it's not working while retrieving data. Am I using the wrong pattern for insert query?
var kustoConnectionStringBuilder =
new KustoConnectionStringBuilder(kustoUri, database)
{
FederatedSecurity = true,
InitialCatalog = database,
UserID = user,
Password = password,
Authority = tenantId
};
var client = KustoClientFactory.CreateCslQueryProvider(kustoConnectionStringBuilder);
string query = "ingest inline into table Device <| 1,DeviceId";
client.ExecuteQuery(query);
Error Message: Syntax error: Query could not be parsed: A recognition error occurred. Can anyone please help me on this? My Device table has two column for now: Id (int),Description (string)