PHPackages                             staffim/splunk-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. staffim/splunk-bundle

AbandonedBundle[Logging &amp; Monitoring](/categories/logging)

staffim/splunk-bundle
=====================

Bundle for Symfony2 that extends Monolog for SplunkStorm support

6114PHP

Since Jun 18Pushed 12y ago1 watchersCompare

[ Source](https://github.com/staffim/StaffimSplunkBundle)[ Packagist](https://packagist.org/packages/staffim/splunk-bundle)[ RSS](/packages/staffim-splunk-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SplunkBundle
============

[](#splunkbundle)

About
-----

[](#about)

[SplunkStorm](http://splunkstorm.com/) handler for [Monolog](https://github.com/Seldaek/monolog) as a Symfony bundle.

The bundle is inspired from [LogglyBundle](https://github.com/beberlei/WhitewashingLogglyBundle)

Note: The bundle did not testing with [Splunk](http://splunk.com)

Installation
------------

[](#installation)

Require the `staffim/splunk-bundle` package in your composer.json and update your dependencies.

```
$ composer require staffim/splunk-bundle:*

```

Add the StaffimSplunkBundle to your application's kernel:

```
    public function registerBundles()
    {
        $bundles = array(
            ...
            new Staffim\SplunkBundle\StaffimSplunkBundle(),
            ...
        );
        ...
    }
```

Configuration
-------------

[](#configuration)

### Configure Monolog

[](#configure-monolog)

```
monolog:
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      splunk
        splunk:
            type: service
            id: staffim_splunk.monolog_handler
```

or buffered handler

```
monolog:
    handlers:
        buffered_splunk:
            type: buffer
            level: debug
            handler: splunk
        splunk:
            type: service
            id: staffim_splunk.monolog_handler
```

or even error handler

```
services:
    my.monolog.exception_logger:
        public:    false
        class:     Symfony\Bridge\Monolog\Logger
        arguments: ["mole.monolog.exception_logger"]
        calls:
            - [pushHandler, ["@staffim_splunk.monolog_handler"]]
```

### Configure Splunk:

[](#configure-splunk)

```
staffim_splunk:
    # SplunkStorm access token
    token: ###
    # SplunkStorm project ID
    project: ###
    # SplunkStorm API host ((defaults to api.splunkstorm.com))
    host: api.splunkstorm.com
    # Level to be logged (defaults to DEBUG)
    level: DEBUG
    bubble: true
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/347306?v=4)[Vyacheslav Salakhutdinov](/maintainers/megazoll)[@megazoll](https://github.com/megazoll)

---

Top Contributors

[![megazoll](https://avatars.githubusercontent.com/u/347306?v=4)](https://github.com/megazoll "megazoll (3 commits)")

### Embed Badge

![Health badge](/badges/staffim-splunk-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/staffim-splunk-bundle/health.svg)](https://phpackages.com/packages/staffim-splunk-bundle)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
