ES_CW

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ES_CW

  • Rank
    Community Member
  1. Hi Sarah, Unfortunately, I don't think that will work. We are looking at several thousand devices and a time-span starting at 04/01/2017. It would be much harder on your servers and take much longer if I went that route. I am starting at 4k alerts I am trying to update, but once I get an update for one that shows it as closed, I won't hit it again. So I would imagine the numbers would drop a lot after the first execution. As for the ability to do an or operator, that would be really useful. If it would be even easier to implement, you could have a syntax that would be like an "IN" clause in ANSI SQL. That way you wouldn't have to parse operator precedence with "and" operators and "or" operators. Just a thought. Thanks, Eric
  2. Hello all, I am trying to get updates on alerts that span multiple days. So, our normal code will grab new alert data for today, let's say. However, we need to go back to old alerts and see if they have been resolved yet, so we can do accurate reporting. What I want to do is provide a list of the IDs for a handful of alerts and get more than 1 row back. Any ideas on how I can formulate an alert query so that I can get 2 rows back for, say ID=DS1234567 and ID=1234568 in the same request? Here is my example call: https://mysite.logicmonitor.com/santaba/rest/alert/alerts?filter=id:DS1275294,id:DS1472582 My hope is to combine a batch of calls so I don't flood the service and so I can get results faster. Given a list of unique IDs, any thoughts on requesting a batch? E