I want to get the volume for a specific word "ERROR" occurrence in a specific server in last 7 days. How to do that? Please help.
Assuming by "volume" you mean the number of occurrences, try this
index=foo "ERROR" host=bar earliest=-7d
| stats count