Score:0

define custom fields for systemd-journald

pk flag

The doc states, it may be possible to define new fields by applications.

What does it mean? Can one define arbitrary fields or are only those possible listed in the doc USER JOURNAL FIELDS?

If arbitrary fields are possible, how to define them then?

Score:0
pk flag

Got it. Arbitrary fields are definitely possible. You don't see them when $ journalctling by plain text. You see your fields best by $ journalctl -ar -o json-pretty.

Which means

  • showing all fields regardless whether they have non-printable characters in [-a]
  • in reverse order - latest messages first [-r]
  • by printing in json format [-o]
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.