diff --git a/pkg/observability/logs_test.go b/pkg/observability/logs_test.go
index e5e29ff..737ccf1 100644
--- a/pkg/observability/logs_test.go
+++ b/pkg/observability/logs_test.go
@@ -54,7 +54,7 @@ func TestGetLogs(t *testing.T) {
maxLogLines := 100
search := ""
- logEntryResponse, err := o.getLogs(now, now, 0, maxLogLines, 0, search)
+ logEntryResponse, err := o.getLogs(now, now, 0, maxLogLines, 0, search, []string{}, []KeyValue{})
if err != nil {
t.Fatalf("get logs error: %s", err)
}
diff --git a/webapp/src/Routes/Logs/Logs.tsx b/webapp/src/Routes/Logs/Logs.tsx
index e463381..dd8a0e5 100644
--- a/webapp/src/Routes/Logs/Logs.tsx
+++ b/webapp/src/Routes/Logs/Logs.tsx
@@ -140,15 +140,27 @@ export function Logs() {
- { return tag.key })}
- value={columns}
- onChange={setColumns}
- size="xs"
- />
+ {data?.pages[0].tags
+ .filter((element, i) => {
+ if(i === 0 || element.key !== data?.pages[0].tags[i-1].key) {
+ return true
+ } else {
+ return false
+ }
+ })
+ .map((element) => {
+ return (
+ event.currentTarget.checked ? setColumns([...columns, element.key]) : setColumns(columns.filter((column) => { return column !== element.key } ))}
+ checked={columns.some((column) => column === element.key)}
+ />
+ )
+ })}