When i use table command to count the number of events and average response time of Component 1, i get table as below
Table Heading - Field 1, Field 2
Values - Val1 , Val 2
But i want the UI to look like
Table 1 - CustomHeading
Row 1 - Count
Row 2 - Average Response Time
How to do this ? Is this feasible in splunk ?
It seems that you need this command :
your_search_here | transpose
http://docs.splunk.com/Documentation/Splunk/6.6.1/SearchReference/Transpose
I was going to answer this but I'm not sure what you want. There are several things you could mean by what you wrote, we probably just need to know which one of those you actually do mean. 🙂
Are you building a dashboard? In that case, you can change the title/heading of the chart separately from anything inside the chart.
Or do you want a table that has that information?
And where exactly do you get the Count or Average Response Time? Are those Field1 and Field 2?
So if you could describe where the data will end up, and maybe use your existing example only put real values in there so it's more clear (and be SURE to use the code button to format it!), we can probably get you a better answer faster.
Thanks!
-Rich