| fields - _time
| fields - _time
Hi,
This removes the values of _time, but not the column header for me. Any ideas?
Please share your query so we can see how you're creating the column header. I suspect you need to remove "_time" from the table command.
I'm using a Classic Dashboard. This is my XML:
<event>
<search>
<query>index=index
| fields - _time
| table ApplicationName, ApplicationPath, LastRun</query>
</search>
<fields>ApplicationName, ApplicationPath, LastRun</fields>
<option name="type">table</option>
</event>
I was able to eliminate the _time column by changing the event tag to a table tag.
<table>
<search>
<query>index=_internal
| fields - _time
| table ApplicationName, ApplicationPath, LastRun</query>
<earliest>$earliest$</earliest>
<latest>$latest$</latest>
</search>
<option name="refresh.display">progressbar</option>
<fields>["ApplicationName","ApplicationPath","LastRun"]</fields>
</table>
Hi, I'd like to keep it an event and not a table.
An event does contain the _time field (even if empty). You cannot remove it from the visualization. The only thing you can do is hide it by declaring it invisible with CSS.