Hi syjayaraj,
remove your csv file returns to delete the data therein. In the search bar, you can use delete operator .
To do this, your role must have the capability to do so. If you are an admin user, you must go add can_delete role because admin role don't have it by default.
After to this, run a search that returns events of your csv file like follow:
source= (name_of_your_file.csv) OR (Path/../ name_of_your_file.csv)|delete
This will remonve all data in your csv file
For more Explanation follow the link:
http://docs.splunk.com/Documentation/Splunk/latest/Indexer/RemovedatafromSplunk#Delete_events_from_future_searches
I think that to see where your csv file is located, go to opt/Splunk/var/lib/splunk/defaultdb/db/hot_v1_0/rawdata if you use default index to index your file.
Note: hot_v1_0 is newsly created directory.
follow opt/Splunk/var/lib/splunk/your_index_nama/db/hot_v1_0/rawdata for for your particular index.
... View more