question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FunctionName incorrectly parsed in Kusto logs

See original GitHub issue

Please provide a succinct description of the issue.

We noticed that after our instrumentation changes #2557, some of the apps’ logs have an incorrect FunctionName for the newly added log statement, while some of them are fine.

Repro steps

Kusto query:

let Time=ago(1d);
let BlobAllOps=
FunctionsLogs
| where PreciseTimeStamp > Time
| where Summary startswith "BlobReadAccess" or Summary startswith "BlobWriteAccess"
| project PreciseTimeStamp, Region=tostring(split(EventStampName, "-", 2)[0]), AppName, FunctionName, Summary, FunctionInvocationId;
BlobAllOps
| take 1000

Expected behavior

The FunctionName field should have the name of the function and not the name of the blob being accessed.

Actual behavior

The FunctionName field, in some cases, has the name of the blob being accessed instead of the name of the function.

Known workarounds

n/a

Related information

I can share examples of logs that are facing this issue offline.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pragnagopacommented, Feb 12, 2021

Released https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.Storage/4.0.4 to nuget . Package includes fix for this issue.

0reactions
fabiocavcommented, Dec 10, 2020

PR out, fix in progress. @pragnagopa is working on additional validation, so bumping this to sprint 91

Read more comments on GitHub >

github_iconTop Results From Across the Web

User defined function for Log analytics custom log cannot ...
I'd like to use kusto query to view application(web/was) logs on log analytics. I've created below kusto query and it works fine as...
Read more >
Kusto Query Parser C#: Get function name from columns in ...
Kusto Query Parser C#: Get function name from columns in query. I got a query like the following: Function | where Column1="abc" |...
Read more >
Functions Sprint 94 Milestone
Oops, this milestone has changed. Please refresh and try again. FunctionName incorrectly parsed in Kusto logs. #2623 by gohar94 was closed on Jan...
Read more >
Fun With KQL – Parse_JSON and ToDynamic
The Kusto Query Language provides that ability through the use of the parse_json scalar function. In this post we'll look at examples of...
Read more >
OMS Log Analytics: Parsing Custom Fields On The Fly
Today's focus is on the new “parse” keyword which allows a user to extract multiple custom fields from their data dynamically during a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found