How to use filestore

Hello all,
I write rules this:
alert http any any -> any any (msg:“File stored”; filename:“”; filestore; sid:111111114; rev:1;)
I want to save file
I find suricata save the by log,but state is truncated and size is less and sha256 is bad.
It likely a part of file,so state is truncated.
If this,how can i save the file content?

Are you using file-store v2?
Sounds like you might be hitting stream depth settings.
Try setting stream-depth: 0 in the file-store section of suricata.yaml

I add stream-depth: 0
And the size is right,the sha256 is right.
The state is closed.Thank you.