Aliyun_Log_Models_PutLogsRequest

Extends \Aliyun_Log_Models_Request

The request used to send data to log server.

author

log service dev

package

LOG_PHP_SDK

Methods

Aliyun_Log_Models_Request constructor

__construct(string $project) 
inherited

Arguments

$project

string

project name

Get all the log data

getLogItems() : array

Response

array

LogItem array, log data

Get logstroe name

getLogstore() : string

Response

string

logstore name

Get project name

getProject() : string
inherited

Response

string

project name

get shard key

getShardKey() : string

Response

string

shardKey

Get log source

getSource() : string

Response

string

log source

Get topic name

getTopic() : string

Response

string

topic name

Set the log data

setLogItems(array $logitems) 

Arguments

$logitems

array

LogItem array, log data

Set logstore name

setLogstore(string $logstore) 

Arguments

$logstore

string

logstore name

Set project name

setProject(string $project) 
inherited

Arguments

$project

string

project name

set shard key

setShardKey( $key) 

Arguments

$key

set log source

setSource(string $source) 

Arguments

$source

string

log source

Set topic name

setTopic(string $topic) 

Arguments

$topic

string

topic name

Properties

logstore name

logstore : string
var

logstore name

Type(s)

string

topic name

topic : string
var

topic name

Type(s)

string

source of the logs

source : string
var

source of the logs

Type(s)

string

LogItem array, log data

logitems : array
var

LogItem array, log data

Type(s)

array

shardKey putlogs shard hash key

shardKey : string
var

shardKey putlogs shard hash key

Type(s)

string

project name

project : string
inherited
var

project name

Type(s)

string