Hello all,
following use case:
We wanted to create a backup of some json data. For this we created a new index called "xyz_backup" and moved all data from the original index to it. By doing that the sourcetype was set to "stash" in the backup index.
Now we want to move the data from the "xyz_backup" index back to the original index. But the sourcetype should be json again and also the field extraction should be back.
By running following command the only thing that happens is that the sourcetype gets set to "json" but the data itself is still not in the right json format (field extractions not working etc.).:
index=xyz_backup | collect index=original sourcetype=_json
How can we get the data back into its original format (json)?
The original data is still available and could maybe be "read-in" again by resetting the fishbucket but the bad thing is its only possible for individual files right? not for a complete folder? because we have over 100files...
Thanks in advance for your help or a quick tip.
... View more