Value is used to apply CSS Class for Background Color override and the Label is used to display the final value in the table cell (drops the value for Value fields which is only required for coloring table cells). Using JavaScript split the field value as Values and Label. Option 2) Use Simple XML JS extension to access SplunkJS stack and apply Custom Table render. However, this will show both Field Value and Label in the final table. Advantage of this approach is that it is Simple XML based option hence does not require JS and/or CSS extension. Option 1) Use Table Format option using colorPalette with Expression: Only if you are on Splunk Enterprise 6.5 or higher using Simple XML Dashboards. Both options would need you to merge your OrderCount and Color fields together using a delimiter like | pipe. Is there any way to accomplish there are couple of options you can try. So the cell 200 of my table would be red. I want to highlight the OrderCount values (200, 100, 50, 90) based on their respective value of the field "Color" from my search result. Which will result in the following table: 1. My query looks like this: base search | chart values(OrderCount) over Timestamp by System Client System Timestamp OrderCount ColorĢ. What I need is for the cell to get highlighted based on another value of the search result. I have seen multiple examples showing how to highlight a cell based on the value shown in the actual result table. I am trying to highlight the cells of my result table.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |