I guess I'm again just missing the point somewhere ...
Currently I'm converting some legacy Simple XML Dashboards into more integrated Views with the help of the Sideview Utils Editor.
One of the views is a table with a chart drilldown. The table view shows the result of the base search sourcetype=livelog http_status=* | chart count by host,http_status
resulting in a table showing all hosts as rows, the HTTP returncodes as columns, and the numbers in the cells. Clicking on one of the cells opens a line chart displaying the timechart of the respective host.
Now I want to replicate the same view in Sideview Utils.
<module name="Search" autoRun="True">
<param name="preview">True</param>
<param name="search">sourcetype=livelog http_status=* | chart count by host,http_status</param>
<param name="earliest">-30m@m</param>
<param name="latest">@m</param>
<module name="Table">
<param name="fields">count,host,returncode</param>
</module>
</module>
This setup only shows one row, listing all 5 hosts. Can someone point out my error?
You don't want that "fields" param there. Just remove it.
The fields going into your chart command are host and http_status, but the fields coming out are host and then "200", "404", "500" etc....
That fields param is telling your Table that you want to throw away all the fields and leave only "host" (which is actually there) and "count" and "returncode" which are not actually fields in the data.
You don't want that "fields" param there. Just remove it.
The fields going into your chart command are host and http_status, but the fields coming out are host and then "200", "404", "500" etc....
That fields param is telling your Table that you want to throw away all the fields and leave only "host" (which is actually there) and "count" and "returncode" which are not actually fields in the data.
Just as I thought ... Sometimes you're just blind for the obvious errors 🙂
Thanks a ton, that did it!