Logmanager documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Dictionary structure

Dictionary is a data structure, known also as associative array or map. Data structure is composed of key value pairs, such that each possible key appears at most once in the collection.

Keys can be only strings. Value can be empty, number, text, dictionary or a list.

While iterating over key names, these key names are iterated over in arbitrary order which is non-random, depends on the dictionary’s history of insertions and deletions, and differs between process instances.
Example of a dictionary data structure represented in JSON format:

{
    "msg": {
      "user": "administrator"
    },
    "raw": "Login permitted from 192.168.10.1/1234 to inside:192.168.1.1/https for user admin",
    "@timestamp": "2016-01-01T00:00:00.000001+00:00",
    "meta": {
    "tags@id": [],
    "tags": []
    },
    "raw_offset": 0
}