Input Section

1 minute read

Each [INPUT] section specifies the configuration for an input plugin. In this configuration, there are five dummy input plugins, each generating log data with different IP addresses.

[INPUT]
   Name        dummy
   Dummy       {"ipAddr":"41.0.0.1","log": "2023-08-11 19:56:44 W3SVC1 WIN-PC1 ::1 GET / - 80 ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/115.0.0.0+Safari/537.36+Edg/115.0.1901.200 - - localhost 304 142 756 1078 -"}
   Tag         dummy
  • Name: Specifies the input plugin name (dummy).

  • Dummy: Provides the dummy data to be generated by the plugin.

  • Tag: Assigns a tag (dummy) to this input, which is used to match this input to filters and outputs.

Check out the official documentation for more information about the dummy plugin.