Splunk Enterprise

Push the row-data to upper rows of the same column if the upper-rows are empty.

abhishekpatel2
Explorer

Currently I am having some  blank cell or null data in some row. So how can I fill that cells or rows with the data  that is in below row of that columns:

Currently my output for the query is:

Screenshot (154).png

 

The Output that I want is:-

Screenshot (155).png

Can someone please help me with this..

Labels (1)
0 Karma

aasabatini
Motivator

Hi 

 

you can use "Sort" comand to order your output.

 

In addiction you can use fillnull comand to fill your blank fields 

https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Fillnull

 

 

“The answer is out there, Neo, and it’s looking for you, and it will find you if you want it to.”

abhishekpatel2
Explorer

It only fill that field with null in case of fill null and sort columns if I use sort. But  I want to push the  row data to upwards to remove the blank rows.

0 Karma

aasabatini
Motivator

In your case you need to use at the end of your search:

| sort -a (field)

 

 

“The answer is out there, Neo, and it’s looking for you, and it will find you if you want it to.”
0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...