ログの取得
get
/services/{version}/extracts/{extract}/info/logs/{log}
必要なロール: 管理者
Extractプロセスからログを取得します。
リクエスト
パス・パラメータ
- extract(必須): string
最小長:
1
最大長:8
パターン:^[A-Z_$][A-Z0-9_$]*$
Extractの名前。Extract名は大文字で、先頭が英字、その後に英数字が最大で7文字続きます。
- log(必須): string
最小長:
5
最大長:14
パターン:^[A-Z_$][A-Z0-9_$]{0,7}[-]{0,1}[1-9]{0,1}?[.](log)$
ログの名前。Extract名の後にオプションのリビジョン番号('-番号'という形式)、および'.log'が続きます
- version(必須): string
Oracle GoldenGateサービスのAPIバージョン。
指定できる値:[ "v2" ]
レスポンス
サポートされるメディア・タイプ
- application/json
- text/plain
200レスポンス
ログが正常に取得されました。
ルート・スキーマ: Application log properties
型:
object
タイトル:
ソースの表示
Application log properties
- $schema:
指定できる値:
[ "ogg:log" ]
- enabled(必須): boolean
レスポンスの例(application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info/logs/EXT2.log",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info/logs/EXT2.log",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/extractLog",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:log",
"lines":[
"",
"INFO 2021-07-28 09:01:17.000191 [main] - Kafka Capture loading the properties from the file [dirprm/.KC.properties]",
"INFO 2021-07-28 09:01:17.000207 [main] - Kafka Capture configuration properties.",
"Configuration property key [wildcardTableEntriesString] value [qasource=benchmktst;].",
"Configuration property key [kafkaConsumerConfig] value [kafka_producer.properties].",
"Configuration property key [processLoopMillis] value [5000].",
"Configuration property key [nodes] value [localhost].",
"Configuration property key [port] value [9092].",
"Configuration property key [vamPositionType] value [GG_ATTR_DS_TIME].",
"Configuration property key [startTimestamp] value [2021-07-28 09:00:38.114992].",
"",
"WARN 2021-07-28 09:01:17.000207 [main] - Kafka Capture, unknown configuration property [nodes].",
"WARN 2021-07-28 09:01:17.000208 [main] - Kafka Capture, unknown configuration property [port].",
"INFO 2021-07-28 09:01:17.000289 [main] - Setting Kafka Capture start time to [2021-07-28 09:00:38.114992] Java epoch [1627488038114].",
"INFO 2021-07-28 09:01:17.000290 [main] - Kafka Capture loading the Kafka Configuration from the file [dirprm/kafka_producer.properties]",
"INFO 2021-07-28 09:01:17.000341 [main] - Stopping the Kafka Capture processing thread.",
"INFO 2021-07-28 09:03:04.000012 [main] - Kafka Capture loading the properties from the file [dirprm/.KC.properties]",
"INFO 2021-07-28 09:03:04.000034 [main] - Kafka Capture configuration properties."
]
}
}