cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Order of columns

stefan_eggersto
Dynatrace Mentor
Dynatrace Mentor
Can we set the order of columns?
 
I want following order in the table:
  • timestamp
  • log.source
  • then the column order can be random
 
1 REPLY 1

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

Hi Stefan,

the fields command can be used to set the order of the fields. Please have a look at the following sample
fetch logs
| fields timestamp, log.source, content
With the fields command you not only specify which fields should be displayed, but also its order. So you need to specify all fields which you want to be visible 
 
For further info, please have a look at the documentation of the command: https://www.dynatrace.com/support/help/shortlink/dql-commands#fields
 
Best,
Sini

Featured Posts