Process workspace audit events
curl --request PUT \
--url https://mycluster.domino.tech/api/workspace-audit/processimport requests
url = "https://mycluster.domino.tech/api/workspace-audit/process"
response = requests.put(url)
print(response.text)const options = {method: 'PUT'};
fetch('https://mycluster.domino.tech/api/workspace-audit/process', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mycluster.domino.tech/api/workspace-audit/process",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/api/workspace-audit/process"
req, _ := http.NewRequest("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://mycluster.domino.tech/api/workspace-audit/process")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/workspace-audit/process")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
response = http.request(request)
puts response.read_body123{
"code": 400,
"message": "Bad Request"
}events
Process workspace audit events
Processes any new workspace audit events that have been created in the storage location since the last processing run and updates the aggregated event parquet files.
PUT
/
process
Process workspace audit events
curl --request PUT \
--url https://mycluster.domino.tech/api/workspace-audit/processimport requests
url = "https://mycluster.domino.tech/api/workspace-audit/process"
response = requests.put(url)
print(response.text)const options = {method: 'PUT'};
fetch('https://mycluster.domino.tech/api/workspace-audit/process', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mycluster.domino.tech/api/workspace-audit/process",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/api/workspace-audit/process"
req, _ := http.NewRequest("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://mycluster.domino.tech/api/workspace-audit/process")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/workspace-audit/process")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
response = http.request(request)
puts response.read_body123{
"code": 400,
"message": "Bad Request"
}Response
Number of new raw events processed, either successfully or skipped as failed
The response is of type integer.
Related topics
Workspace File Access eventsGet processing statusSystem eventsUse the Workspace File Audit AppWas this page helpful?
⌘I