Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
{
	"display": string,
	"logstash": {
	    "config": string, // contains the complex
 		"streaming": boolean // defaults to true - data is stored only for a rolling 30 days, if false data is stored forever (useful for demos, should be used with care)
	} 
}

Description

Obviously the The most significant element of the Logstash configuration is the "config" string field. This contains the Domain Specific Language described here, pointing to the various elements listed here.

...

Later in the example, logstash geoip is used to add the geographical location of IP addresses.
 

Info
This is code as it would be seen in the "LS" code editor, which then gets converted to a string and placed in config (Eg "input\n{\n")

...