Splunk Search

How to display details in table

Path Finder

I need to display a table with 4 columns and date is like this:

Colum A       Col B      Col C        Col D
x             y          z            a
c                        c                       

Problem is when it only displays the Row1 results since data is present for all columns.
I need to write a search where it should pick all rows even though data is present even in 1 of the column.

How can we do that?

0 Karma


Greetings @rashi83,

@nplamondon is right. In the meantime, try throwing this after your | table "Column A" "Col B" "Col C" "Col D"

| fillnull value="N/A" (or whatever you want the null values to be).

You're most likely doing a stats at some point which will get rid of all null values in the by clause. You need to set those to something before the stats.



If you feel this response answered your question, please do not forget to mark it as such. If it did not, but you do have the answer, feel free to answer your own post and accept that as the answer.


Can you give a better example of your data/search?

0 Karma
Get Updates on the Splunk Community!

Splunk APM & RUM | Upcoming Planned Maintenance

There will be planned maintenance of the streaming infrastructure for Splunk APM and Splunk RUM in the coming ...

Part 2: Diving Deeper With AIOps

Getting the Most Out of Event Correlation and Alert Storm Detection in Splunk IT Service Intelligence   Watch ...

User Groups | Upcoming Events!

If by chance you weren't already aware, the Splunk Community is host to numerous User Groups, organized ...