Dashboards & Visualizations

Splunk Classic Dashboard Event Panel Table Visualization

lcguilfoil
Path Finder

I am creating a Classic Dashboard. I have a Events Panel that is in the Table format. The headers for the table are the following events: _time, host, source, and sourcetype. These are the "Selected Fields". However, there are other fields that I would like to include as "Selected" so that they show up on the header. Is there anyway to do that?

<panel>
	<event>
		<search>
			<query>index=*</query>
			<earliest>$global_time.earliest$</earliest>
			<latest>$global_time.latest$</latest>
		</search>
		<option name="type">table</option>
	</event>
</panel>

 

Labels (2)
0 Karma
1 Solution

lcguilfoil
Path Finder

I figured it out! I added the fields:

<panel>
	<event>
		<search>
			<query>index=*</query>
			<earliest>$global_time.earliest$</earliest>
			<latest>$global_time.latest$</latest>
		</search>
		<fields>field, field2, field3</fields>
		<option name="type">table</option>
	</event>
</panel>

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Try using the table command in your query

index=* | table _time, host, source, sourcetype, otherfield1, otherfield2
0 Karma

lcguilfoil
Path Finder

Hello! Thank you for your response. I tried that. However, the Selected Field headers are still just _time, host, source, and sourcetype. The footer Event Fields that appear when I expand the event do include the fields that I put in the table command (ex: Level, Details, etc), but don't appear as the headers or the Selected Fields.

0 Karma

lcguilfoil
Path Finder

I figured it out! I added the fields:

<panel>
	<event>
		<search>
			<query>index=*</query>
			<earliest>$global_time.earliest$</earliest>
			<latest>$global_time.latest$</latest>
		</search>
		<fields>field, field2, field3</fields>
		<option name="type">table</option>
	</event>
</panel>
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...