Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

In this working sample, we will post to a S plunk Splunk HTTP Event Collector - after setup and getting the Splunk Key, the collector need a POST like this:

Kodeblok
{
    "time": 1426279439, 
    "host": "localhost",
    "source": "datasource",
    "sourcetype": "txt",
    "index": "main",
    "event": { "hello": "world" }
}

We do eliminate the "Timetime" field, as the POST is instantly from the Confluence server.

...