
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
|Build Status|
Proxy that allows to log from raven to elasticsearch.
Package
elasticsearch-raven can be installed as a normal Python package. Example
installation for pip:
::
$ pip install elasticsearch-raven
Configuration
-------------
settings.py
Configure Ravan to your proxy location
::
RAVEN_CONFIG = {
'dsn': 'protocol://public:secret@host:port/index',
}
public:secret is required by Raven, for valid Sentry dsn pattern, but it doesn't affect log sending.
Indexes are formatted with actual date. Suggested format:
basic-index-{0:%Y.%m.%d} will result in basic-index-YYYY.MM.DD
Environment Variables
Define elasticsearch location by setting environment variable
ELASTICSEARCH\_HOST (default: 'localhost:9200')
::
export ELASTICSEARCH_HOST='localhost:9100'
If you use your elasticsearch with https protocol, you should set
environment variable USE\_SSL to True
::
export USE_SSL=True
To use http authentication just set ELASTICSEARCH\_AUTH variable using
'login:password' format
::
export ELASTICSEARCH_AUTH=login:password
Usage
-----
Option 1: wsgi
~~~~~~~~~~~~~~
You can run wsgi.py with any http server that supports wsgi. Example
using python simple HTTP server.
::
#!/usr/bin/env python
from elasticsearch_raven.wsgi import application
from wsgiref.simple_server import make_server
httpd = make_server('', 8000, application)
httpd.serve_forever()
Option 2: UDP server
~~~~~~~~~~~~~~~~~~~~
You can run udp server with command:
::
elasticsearch-raven.py host port
.. |Build Status| image:: https://travis-ci.org/pozytywnie/elasticsearch-raven.svg?branch=master
:target: https://travis-ci.org/pozytywnie/elasticsearch-raven
FAQs
Proxy that allows to send logs from Raven to Elasticsearch.
We found that Elasticsearch-Raven demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.