Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
logstash-input-event-hub
Advanced tools
This plugin reads data from specified Azure Event Hubs.
You can install this plugin using the Logstash "plugin" or "logstash-plugin" (for newer versions of Logstash) command:
logstash-plugin install logstash-input-azureeventhub
For more information, see Logstash reference Working with plugins.
key
The shared access key to the target event hub.
username
The name of the shared access policy.
namespace
Event Hub namespace.
eventhub
Event Hub name.
partitions
Partition count of the target event hub.
domain
Domain of the target Event Hub. Default value is "servicebus.windows.net".
port
Port of the target Event Hub. Default value is 5671.
receive_credits
The credit number to limit the number of messages to receive in a processing cycle. Value must be between 10 and 999. Default is 999.
consumer_group
Name of the consumer group. Default value is "$default".
time_since_epoch_millis
Specifies the point of time after which the messages are received. Default value is the time when this plugin is initialized:
Time.now.utc.to_i * 1000
thread_wait_sec
Specifies the time (in seconds) to wait before another try if no message was received.
partition_receiver_epochs
A map from partition (string) to epoch (integer). By default each partition doesn't have an epoch defined. For more information read https://blogs.msdn.microsoft.com/gyan/2014/09/02/event-hubs-receiver-epoch/ .
input
{
azureeventhub
{
key => "VGhpcyBpcyBhIGZha2Uga2V5Lg=="
username => "receivepolicy"
namespace => "mysbns"
eventhub => "myeventhub"
partitions => 4
partition_receiver_epochs => { '2' => 42 '0' => 15 }
}
}
input
{
azureeventhub
{
key => "VGhpcyBpcyBhIGZha2Uga2V5Lg=="
username => "receivepolicy"
namespace => "mysbns"
eventhub => "myeventhub"
partitions => 4
partition_receiver_epochs => { '2' => 42 '0' => 15 }
}
}
filter {
split {field => 'records'} #split the records array in individual events
}
output {
stdout {
codec => rubydebug
}
}
The source code of this plugin is hosted in GitHub repo Microsoft Azure Diagnostics with ELK. We welcome you to provide feedback and/or contribute to the project.
Please also see Analyze Diagnostics Data with ELK template for quick deployment of ELK to Azure.
FAQs
Unknown package
We found that logstash-input-event-hub demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.