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)
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!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...