0

Sensu を使い始めたばかりですが、イベントを取得できる Events API があることは知っています。私は Splunk に慣れているので、検索クエリを実行してイベントを取得していました。ここで同じことをしようとしています。以下のイベントを取得したとします。Sensu Events API を使用してすべてのイベントを取得するにはどうすればよい"SN": "1234"ですか? できますか?もしそうならどのように?

ありがとう、スナベル

{
"id": "2829f9a5-ae0c-4698-b14e-c742cf575802",
"client": {
  "name": "test",
  "address": "x.x.x.x",
  "subscriptions": [
    "test"
  ],
  "version": "x",
  "timestamp": 1454840570
},
"check": {
  "name": "test me",
  "output": "...",
  "status": 1,
  "description": "---LOCAL---",
  "severity": "Informational",
  **"SN": "1234",**
  "executed": 1454840575,
  "issued": 1454840575,
  "history": [
    "1"
  ],
  "total_state_change": 0
},
"occurrences": 1,
"action": "create",
"timestamp": 1454840575
}
4

0 に答える 0