Hi Chris,

Creating associations via API would probably involve you generating the JSON ruleset yourself, but beyond this I might be able to add an endpoint to the API for this easilyish, depending how well structured the existing stuff is.

You can see the format in the database for an existing group.

Alternatively, you could just insert the rows directly into the database, probably slightly easier than the API for one offs.

Adam.

Sent from BlueMail
On 25 Apr 2019, at 09:16, Brandwatch NOC via observium <observium@observium.org> wrote:
Hi,

I need to bulk create a large number of sensor groups. I would really rather not do that by hand in the GUI. Any automatable method would be fine - API/script/DB query/something else. I had a quick look around but couldn't find anything in the documentation - I would appreciate a quick nudge in the right direction.

Thanks,

Chris

-- 

Chris Tomkins    |    Senior Network Engineer (Linux/Network)

christ@brandwatch.com

Office: +44 (0)1273 448 949


NEW YORK   | BOSTON  | BRIGHTON   | LONDON   | BERLIN   |   STUTTGART   | SINGAPORE   | SYDNEY | PARIS





observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium