Class: TencentCloud::Tem::V20210701::LogConfigExtractRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::LogConfigExtractRule
- Defined in:
- lib/v20210701/models.rb
Overview
日志采集的导出规则配置
Instance Attribute Summary collapse
- #Backtracking ⇒ Object
- #BeginningRegex ⇒ Object
- #Delimiter ⇒ Object
- #FilterKeys ⇒ Object
- #FilterRegex ⇒ Object
- #Keys ⇒ Object
- #LogRegex ⇒ Object
- #TimeFormat ⇒ Object
- #TimeKey ⇒ Object
- #UnMatchedKey ⇒ Object
- #UnMatchUpload ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(beginningregex = nil, keys = nil, filterkeys = nil, filterregex = nil, logregex = nil, timekey = nil, timeformat = nil, unmatchupload = nil, unmatchedkey = nil, backtracking = nil, delimiter = nil) ⇒ LogConfigExtractRule
constructor
A new instance of LogConfigExtractRule.
Constructor Details
#initialize(beginningregex = nil, keys = nil, filterkeys = nil, filterregex = nil, logregex = nil, timekey = nil, timeformat = nil, unmatchupload = nil, unmatchedkey = nil, backtracking = nil, delimiter = nil) ⇒ LogConfigExtractRule
Returns a new instance of LogConfigExtractRule.
3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 |
# File 'lib/v20210701/models.rb', line 3217 def initialize(beginningregex=nil, keys=nil, filterkeys=nil, filterregex=nil, logregex=nil, timekey=nil, timeformat=nil, unmatchupload=nil, unmatchedkey=nil, backtracking=nil, delimiter=nil) @BeginningRegex = beginningregex @Keys = keys @FilterKeys = filterkeys @FilterRegex = filterregex @LogRegex = logregex @TimeKey = timekey @TimeFormat = timeformat @UnMatchUpload = unmatchupload @UnMatchedKey = unmatchedkey @Backtracking = backtracking @Delimiter = delimiter end |
Instance Attribute Details
#Backtracking ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def Backtracking @Backtracking end |
#BeginningRegex ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def BeginningRegex @BeginningRegex end |
#Delimiter ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def Delimiter @Delimiter end |
#FilterKeys ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def FilterKeys @FilterKeys end |
#FilterRegex ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def FilterRegex @FilterRegex end |
#Keys ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def Keys @Keys end |
#LogRegex ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def LogRegex @LogRegex end |
#TimeFormat ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def TimeFormat @TimeFormat end |
#TimeKey ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def TimeKey @TimeKey end |
#UnMatchedKey ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def UnMatchedKey @UnMatchedKey end |
#UnMatchUpload ⇒ Object
3215 3216 3217 |
# File 'lib/v20210701/models.rb', line 3215 def UnMatchUpload @UnMatchUpload end |
Instance Method Details
#deserialize(params) ⇒ Object
3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 |
# File 'lib/v20210701/models.rb', line 3231 def deserialize(params) @BeginningRegex = params['BeginningRegex'] @Keys = params['Keys'] @FilterKeys = params['FilterKeys'] @FilterRegex = params['FilterRegex'] @LogRegex = params['LogRegex'] @TimeKey = params['TimeKey'] @TimeFormat = params['TimeFormat'] @UnMatchUpload = params['UnMatchUpload'] @UnMatchedKey = params['UnMatchedKey'] @Backtracking = params['Backtracking'] @Delimiter = params['Delimiter'] end |