Type Definitions
JournalctlOptions
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
all |
boolean |
<optional> |
Include all fields in the output. |
lines |
number |
<optional> |
Number of lines to show from the journal. |
since |
string |
<optional> |
Show entries since the specified date. |
identifier |
string |
<optional> |
Show entries with the specified identifier. |
unit |
string |
<optional> |
Show entries from the specified unit. |
filter |
string | Array.<string> |
<optional> |
Filter entries by the specified criteria. |
emitRawMessages |
boolean |
<optional> |
Emit raw messages instead of parsed JSON. |
disableJSONMessages |
boolean |
<optional> |
Disable JSON message parsing. |
spawnOptions |
childProcess.SpawnOptions |
<optional> |
Options to pass to the child process spawn. |
commandPrefix |
Array.<string> |
<optional> |
Command prefix to use instead of 'journalctl'. |
quoteArgs |
boolean |
<optional> |
When using a command prefix, wrap the original command and arguments in quotes. |
- Source: