You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you now request a CSV export, it provides all the columns that exist.
Wouldn't it be possible to include an additional parameter where you specify which columns you want to see only in the CSV/PDF/EXPORT export?
Describe the solution you'd like
add parameter like printcolums=...
You can then use this parameter as a filter when printing the columns.
nilmerg
changed the title
Feature request : print only requested columns for CSV/PDF/JSON Export
Support ?columns also for CSV and JSON exports
Apr 25, 2024
Proposal for export's CSV/PDF/JSON
If you now request a CSV export, it provides all the columns that exist.
Wouldn't it be possible to include an additional parameter where you specify which columns you want to see only in the CSV/PDF/EXPORT export?
Describe the solution you'd like
add parameter like printcolums=...
You can then use this parameter as a filter when printing the columns.
example
printcolumns=host.id,host.display_name,host.vars.os,host.address,host.name,host.vars.local_var
Result
id,display_name,address,name,vars.os,vars.local_var
"1370166c5ea3a961e81ecf3ace578e19dac2184e","host.com","1.1.1.1","obj_host","rhel9","city1"
The text was updated successfully, but these errors were encountered: