I need to show my table column header in below format. I need to get column name and static header under my column.
Students
Total/Pres/Abs
Can someone please let me know how I can get this format.
Like this:
| makeresults
| eval host="test"
| table host
| rename host as "Students
(Total/Pres/Abs)"
Like this:
| makeresults
| eval host="test"
| table host
| rename host as "Students
(Total/Pres/Abs)"
Thanks it got worked.
Please provide proper example with sample output and expected output.
search query | table students | rename students as Students (Total/Pres/Abs)
Current Output:
Students (Total/Pres/Abs)
100/80/20
Desired Output:
Students
(Total/Pres/Abs)
100/80/20