A table can have only one set of headings. You can combine two columns into one using coalesce. For example, this query will create a 3-column table with either deployment or secret in column3. The trick for the reader, however, is to determine which it is.
index=index host=host source=source ("not_found" OR "incorrect")
| eval column3 = coalesce(deployment, secret)
| rename column3 as "deployment or secret"
| table time name "deployment or secret"
--- If this reply helps you, an upvote would be appreciated.