Thanks a lot Guenter,
The command is working now. I want to state an observation in this regard. If I query with Historical Query Viewer with the same command ,i.e., type:errorsnapshot and host:<hostname> for 24 hours error data it is returning a different and lower no of transactions than we get from CLW.
I have ran the query for 10 Servers from HQV as well as CLW, and found this discrepancy. Moreover it is noticed that, while I invoke the mentioned query in your post, from CLW and query for last 1440 minutes, i.e., for 24 hours the generated XML is showing data from almost 5 days back which is not expected. As per my understanding, if I invoke this command on 28 May, 2015 at 01:05:38 AM then the returned XML should contain errors happened between 27 May,2015 01:05:38 AM - 28 May, 2015 01:05:38 AM, right ?
But in the returned XML I found data from 23 May,2015 00:24:46. Did you notice this kind of discrepancy? Is it an expected behavior? I couldn't get the use of time range in the returned results in this case.
Kindly share your concern on this.
Regards,
Amit.