Dashboards & Visualizations

Need to align the table output

senthamilselvan
Engager

Hi Team,
I have imported the logs and i used search query using multikv. The fields are generated fine, but the table alignment is not looking good.
Please find the search query and the output.
index=test sourcetype=gglogs3 | multikv |table REPSD REPHG RPLXP

I have attached the output. In the output, i want to remove all the empty lines and also "====" as well.

alt text

Tags (1)
0 Karma

DEAD_BEEF
Builder

You can specify in your query that there must be a value in a field, that is do not allow blanks to be in your results by using

REPSD=* REPHG=* RPLXP=*

You can eliminate fields with certain values (=) by using:

REPSD=* REPHG=* RPLXP=* AND NOT (REPSD="*=*" OR REPHG="*=*" OR RPLXP="*=*")
0 Karma

p_gurav
Champion

Hi senthamilselvanj,

You can try using | search (REPSD=* NOT REPSD="*=*") (REPHG=* NOT REPSD="*=*") RPLXP=* before your search query

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...