2017 © Pedro Peláez
 

library monolog-splunk-time-processor

image

jkaan/monolog-splunk-time-processor

  • Tuesday, August 1, 2017
  • by JoeyKaan
  • Repository
  • 0 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Splunk Time Processor

Install

$ composer require "jkaan/monolog-splunk-time-processor", (*1)

Usage

The example highlights using this processor with Monolog., (*2)

$monolog->addProcessor(new SplunkTimeProcessor());

All records that you send through Monolog will have a time key added to record. This time key contains the current date in ISO8601 format with milliseconds accuracy., (*3)

Why?

When logging JSON data to Splunk, by default, it separates log events based on time. If you don't include a time key as the first key multiple log events could possibly be categorised as one row in Splunk., (*4)

The Versions

01/08 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Joey Kaan

monolog time processor splunk

01/08 2017

v1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Joey Kaan

monolog time processor splunk