Dashboards & Visualizations

How to remove unwanted row?

KalebeRS
Explorer

Hello,

 

I have this column named pverProduct. For some reason the header of the csv file got in the middle of the result. Is there a way to remove the unwanted row(pverProduct)?

index="" host= sourcetype=csv source=C:\\
| table pverProduct
| dedup pverProduct

 

KalebeRS_1-1690533284350.png

 

 

Labels (1)
0 Karma
1 Solution

jotne
Builder

Try add this as last line.  It will remove the line, but this is data that is already in your table.

 

| search pverProduct!="pverProduct"

 

View solution in original post

Tags (1)

gcusello
SplunkTrust
SplunkTrust

Hi @KalebeRS ,

please try:

index="" host= sourcetype=csv source=C:\\ pverProduct!="pverProduct"
| table pverProduct
| dedup pverProduct

Ciao.

Giuseppe

0 Karma

jotne
Builder

Try add this as last line.  It will remove the line, but this is data that is already in your table.

 

| search pverProduct!="pverProduct"

 

Tags (1)
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...