I am creating a table and simply reordering the fields from events. When I view the table there are random blank rows. How can I eliminate those rows?
index=mainframe sourcetype=dalystat INTVCICS | eval _time = strptime(time,"%m/%d/%y ;%H:%M") | table System TranName APPLID TranCount AvgRespTm AvgCPUtm DB2Requests AvgDB2waitTime MQRequests AvgMQwaitTime AdabasRequests AvgADABASwaitTime
This problem worked itself out. I added time to the table and there are no longer any blank rows.
.....|dedup ,....
in the above case you can do this steps......
1. write your query
2. then write this |dedup "column name",. . . . .
3.then run your query
This problem worked itself out. I added time to the table and there are no longer any blank rows.
What does the table look like before reordering the columns?
All of the fields are blank. There is nothing to match. When I click on the blank events to drill in and figure out what the events are I get no results found.
Those fields might not have data.
Eg: Lets say you have System= ABC and there is no corresponding data for other fields for that system in an event, then the table command will just list System and give blank result for the rest.