Logstash path type Vs string type

Where is the real difference between "path" and string" and "hash" . In terms of appearance, both look similar to the end user . How they are treated anything differently behind the scenes ?
https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html#path

A path is a string that is also a valid file system path for the system running logstash.

A hash is a group of one or more key-value pairs, definitely very different to a string.

A path is a string that is also a valid file system path for the system running logstash.

A hash is a group of one or more key-value pairs, definitely very different to a string.

Understood, All look a like, there is really no difference between path and string as both are same unless the corresponding plugins treat them differently. Then , it is responsibility for the plugin to validate them accordingly ?

Yes, the plugin tags each option with its type.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.