For me, the correct answer is A."By renaming the fields with the “rename” command after the transforming command. e.g. “stats count by ComputerName | rename count AS total_count”
A. By renaming the fields with the “rename” command after the transforming command. e.g. “stats count by ComputerName | rename count AS total_count”
good reference : https://gist.github.com/ag-michael/4fc4e4ae7a8226dcb679261f18a3500d
The correct answer is A. By renaming the fields with the “rename” command after the transforming command. For example, “stats count by ComputerName | rename count AS total_count”. This allows you to rename fields after performing transforming commands like table, chart, or stats, enabling you to customize the field names as needed for clarity or consistency in your analysis.
D may be correct, but the example 'stats count (as) totalcount by ComputerName' works only on 'stats' and 'chart'. 'Table' however, does not support using 'as' to rename field on the fly. However, with '| rename input as output' works for all table, chart and stats, which sufficiently satisfy the success criteria of the question.
A, You rename after the transform command. The results of the transform command are "renamed" to what you specify, This doesn't affect sub-queries and stat analysis
Letter A, because letter D is wrong. See this example: event_platform=win event_simpleName=ProcessRollup2 FileName=PowerShell.exe
| stats count(aid) as psExecutionCount by FileName
You can see on this url: https://www.reddit.com/r/crowdstrike/comments/ns4k9q/20210604_cool_query_friday_stats/
Because you are using transforming commands, definitely D, check the example queries here: https://www.reddit.com/r/crowdstrike/comments/tz5obg/20220408_cool_query_friday_scoring_user_logon/
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
examtopics3000
Highly Voted 1 year, 3 months agoalanalanalan
Most Recent 4 months, 2 weeks agosilva222222
6 months, 3 weeks agokangaru
10 months, 2 weeks agogr23
10 months, 2 weeks agojoal23
1 year, 1 month agoJimmy390
1 year, 1 month agoChiquitabandita
1 year, 2 months agoChiquitabandita
1 year, 2 months ago