{"id":25564796,"url":"https://github.com/ccaglayan/elasticsearch-for-monolog","last_synced_at":"2026-05-18T02:11:24.780Z","repository":{"id":62500300,"uuid":"246199352","full_name":"ccaglayan/elasticsearch-for-monolog","owner":"ccaglayan","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-10T13:21:08.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-24T23:41:40.074Z","etag":null,"topics":["elastic","elasticsearch","log","logging","monolog","monolog-formatter","monolog-handler","psr-4"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ccaglayan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-10T03:27:48.000Z","updated_at":"2020-03-10T13:20:46.000Z","dependencies_parsed_at":"2022-11-02T12:00:58.169Z","dependency_job_id":null,"html_url":"https://github.com/ccaglayan/elasticsearch-for-monolog","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ccaglayan/elasticsearch-for-monolog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccaglayan%2Felasticsearch-for-monolog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccaglayan%2Felasticsearch-for-monolog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccaglayan%2Felasticsearch-for-monolog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccaglayan%2Felasticsearch-for-monolog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccaglayan","download_url":"https://codeload.github.com/ccaglayan/elasticsearch-for-monolog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccaglayan%2Felasticsearch-for-monolog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276318627,"owners_count":25621650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elastic","elasticsearch","log","logging","monolog","monolog-formatter","monolog-handler","psr-4"],"created_at":"2025-02-20T21:59:41.016Z","updated_at":"2025-09-21T22:35:16.026Z","avatar_url":"https://github.com/ccaglayan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elasticsearch For Monolog\n\nA Monolog handler and formatter that makes use of the elasticsearch/elasticsearch package\n\n#### Composer require command\n`composer require ccaglayan/elasticsearch-for-monolog`\n\n## Usage\n\nIt is fairly easy to use. I'll throw in an example.\n\n```php\nuse Elasticsearch\\ClientBuilder;\nuse Monolog\\Logger;\n\n    $config = ['127.0.0.1:9200'];\n    $client = ClientBuilder::create()-\u003esetHosts($config)-\u003ebuild();\n    $options = [\n        'index' =\u003e 'logs_monolog',\n        'type' =\u003e 'logs_doc'\n    ];\n    $handler = new \\ElasticSearch4Monolog\\Handler\\ElasticsearchHandler($client, $options);\n    $logger = new Logger('monologElastic');\n    $logger-\u003epushHandler($handler);\n```\n\n## Contributing\nPull requests and issues are open!\n\n## License\nElasticsearch For Monolog handler is released under the MIT License. See the bundled LICENSE file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccaglayan%2Felasticsearch-for-monolog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccaglayan%2Felasticsearch-for-monolog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccaglayan%2Felasticsearch-for-monolog/lists"}