简体   繁体   中英

Azure kusto unable to create chart

The error I got is "The Line can't be created as you are missing a column of one of the following types: int, long, decimal, or real"

在此处输入图像描述 this is my query" I am looking the chart will display "number of unique resource IDs over time, with an aggregation timespan of 5m"

syslog_CL
 | where data_s contains "Reject" 
 | where hostname_s contains "Network1"
 | where TimeGenerated > ago(1hr)

is there any suggestion I can add to the query to get the time chart?

you could try something like this:

syslog_CL
| where data_s contains "Reject" 
| where hostname_s contains "Network1"
| where TimeGenerated > ago(1hr)
| summarize dcount(_ResourceId) by bin(TimeGenerated, 5m)
| render timechart

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM