Skip to content

caeops > logs

list-parsing-rules

Description


This command lists all parsing rule filter for the given logs source

Synopsis


  list-parsing-rules
--service-name [value]

Options


--service-name (string)

Name of the logs source to create this rule for

Examples


The following logs list-parsing-rules example lists all the parsing rule for the log source

caeops logs list-parsing-rules --service-name dev-logs

Output


Parsing Rule Details -> List[Structure]

  • name -> (string) Name of the parsing rule created
  • serviceName -> (string) Name of the logs source that applies this rule
  • pluginName -> (string) Name of the plugin(logstash) used for parsing logs
  • rule -> (structure)
    • pattern -> (string) Filter pattern defined for this rule
    • target -> (string) Name of the target field, that should contain the parsed information
Back to top