Dell PowerStore 3000X EMC PowerStore Service Scripts Guide - Page 35

Fields, Output Format

Page 35 highlights

Fields The system journal contains entries with information (binary data) stored in fields with specific meaning. When you run the svc_journalctl script, in addition to the optional arguments described above, you can choose to filter the information you want to see based on these fields or based on the value these fields contain. For example: • The following command establishes a basic field matching query to view log messages associated with the Platform component, with a marker value of NDU, and have a message priority level of ERROR: svc_journalctl COMPONENT=Platform MARKER=NDU PRIORITY=ERROR • The following command enables you to search for a specific case-sensitive text pattern in the log messages associated with the Platform component: svc_journalctl -g --case-sensitive=TRUE CONTEXT=456abc COMPONENT=Platform For more information about the journal fields, see System Journal Fields on page 72. Output Format When you run the script, the output appears in a set order of default fields. The following is a sample of the default output from the script: 2019 Mar 11 14:51:45 FNM00175000815-A DEBUG CC CP bedrock.config.ConfigManagerVerticle vert.xeventloop-thread-0 no_ctx_id Starting to set injector. Where: Field __REALTIME_TIMESTAMP _HOSTNAME PRIORITY MARKER COMPONENT SUB_COMPONENT THREAD_NAME CONTEXT_ID MESSAGE Value 2019 Mar 11 14:51:45 FNM00175000815-A DEBUG CC CP bedrock.config.ConfigManagerVerticle vert.x-eventloop-thread-0 no_ctx_id Starting to set injector. If you want to view additional fields in the output, specify them in the --output-fields argument. For example: svc_journalctl --output-fields=CODE_LINE,CODE_FUNC 2019 Mar 11 14:51:45 FNM00175000815-A DEBUG CC CP bedrock.config.ConfigManagerVerticle vert.xeventloop-thread-0 no_ctx_id [814] [validatePlatformResponseStateTask] Starting to set injector. Where: Field CODE_LINE CODE_FUNC Value [814] [validatePlatformResponseStateTask] Service Commands 35

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74

Fields
The system journal contains entries with information (binary data) stored in fields with specific meaning. When you run the
svc_journalctl
script, in addition to the optional arguments described above, you can choose to filter the information you want to see
based on these fields or based on the value these fields contain. For example:
The following command establishes a basic field matching query to view log messages associated with the
Platform
component,
with a marker value of
NDU
, and have a message priority level of
ERROR
:
svc_journalctl COMPONENT=Platform MARKER=NDU PRIORITY=ERROR
The following command enables you to search for a specific case-sensitive text pattern in the log messages associated with the
Platform
component:
svc_journalctl -g --case-sensitive=TRUE CONTEXT=456abc COMPONENT=Platform
For more information about the journal fields, see
System Journal Fields
on page 72.
Output Format
When you run the script, the output appears in a set order of default fields. The following is a sample of the default output from the script:
2019 Mar 11 14:51:45 FNM00175000815-A DEBUG CC CP bedrock.config.ConfigManagerVerticle vert.x-
eventloop-thread-0 no_ctx_id Starting to set injector.
Where:
Field
Value
__REALTIME_TIMESTAMP
2019 Mar 11 14:51:45
_HOSTNAME
FNM00175000815-A
PRIORITY
DEBUG
MARKER
CC
COMPONENT
CP
SUB_COMPONENT
bedrock.config.ConfigManagerVerticle
THREAD_NAME
vert.x-eventloop-thread-0
CONTEXT_ID
no_ctx_id
MESSAGE
Starting to set injector.
If you want to view additional fields in the output, specify them in the
--output-fields
argument. For example:
svc_journalctl --output-fields=CODE_LINE,CODE_FUNC
2019 Mar 11 14:51:45 FNM00175000815-A DEBUG CC CP bedrock.config.ConfigManagerVerticle vert.x-
eventloop-thread-0 no_ctx_id [814] [validatePlatformResponseStateTask] Starting to set
injector.
Where:
Field
Value
CODE_LINE
[814]
CODE_FUNC
[validatePlatformResponseStateTask]
Service Commands
35