Hello,
I accidentally cleaned a KV store and I don't have the source data to recreate it. I do have backups of the /var/lib/splunk/kvstore/mongo directory.
Is it possible to overwrite the contents of the now empty KV store by copying the contents of my backup into the mongo folder backend?
Thanks!
Andrew
I found as solution that works for me and involves loading the backup into a local mongo and exporting what i need to a csv file. Here are the steps:
This was done with mongo from Splunk 7.3.5, recover on win10 workstation
I will now take the export (csv in my case) load it into Splunk and write to the KV store.
Hope this provides some useful info for others with my problem.
Regards,
Andrew
I found as solution that works for me and involves loading the backup into a local mongo and exporting what i need to a csv file. Here are the steps:
This was done with mongo from Splunk 7.3.5, recover on win10 workstation
I will now take the export (csv in my case) load it into Splunk and write to the KV store.
Hope this provides some useful info for others with my problem.
Regards,
Andrew