I have requirement where i wants to re-index file data for specific sourcetype or source ?
Is it possible to do in splunk ?
For cleaning and re-indexing refer this link
In this link Yann has given 3 nice options to re-index a file. Just like my earlier comment renaming is one of the options
You want to clean the data and re-index or you just want to re-index?
Or you can use Splunk CLI oneshot to add the data again.
Yes it is possible. Change the filename and try. If filename is your source then change file modification time and try.