This FAQ article covers how to purge data from a repository. By default, only streamed data is purged. But you can also choose to purge all definitions (such as dashboard definitions) from a repository.
You can use the jkool-cmd.sh script to purge a repository.
Use the following command:
./jkool-cmd.sh -purge -R:DefaultRepo\$Nastel -C:http://localhost:8983 -U:Administrator -P:admin
Explanation of options
|-purge||Purges all data from the given repository.|
|-R||Indicates the repository.|
|-a||Purge all definitions in the repository. (By default, only streaming-related data is purged.)|
Database connection URL
(Defaults to Java property 'jkool.db.url')
(Defaults to Java property 'jkool.db.jkql.user'. If this is not set, you will be prompted for it.)
jKool User Password
(If this is omitted, you will be prompted for it.)