Splunk Search

Splunk Table UI - How to render this UI

premraj_vs
Path Finder

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 ?

0 Karma

3no
Communicator

It seems that you need this command :

your_search_here | transpose

http://docs.splunk.com/Documentation/Splunk/6.6.1/SearchReference/Transpose

0 Karma

Richfez
SplunkTrust
SplunkTrust

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

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...