Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
fluent-plugin-esslowquery
Advanced tools
#fluent-plugin-esslowquery
Fluent parser plugin for Elasticsearch slow query log file.
##Installation
$ td-agent-gem install fluent-plugin-esslowquery
##How to use
Edit /etc/td-agent/td-agent.conf
file.
<source>
type tail
path /var/log/elasticsearch/elasticsearch-{cluster-name}_index_search_slowlog.log
tag elasticsearch.{cluster-name}.search_slowlog_query
pos_file /var/run/td-agent/elasticsearch-search-slow.pos
format es_slow_query
</source>
<source>
type tail
path /var/log/elasticsearch/elasticsearch-{cluster-name}_index_indexing_slowlog.log
tag elasticsearch.{cluster-name}.indexing_slowlog_query
pos_file /var/run/td-agent/elasticsearch-indexing-slow.pos
format es_slow_indexing
</source>
##Expected record format
{
"extra_source": "{\"from\":0,\"size\":0}",
"index": "comments",
"node": "{cluster-name}-{node-id}",
"search_type": "COUNT",
"severity": "TRACE",
"shard": 4,
"source": "index.search.slowlog.query",
"source_body": "{\"query\":{\"filtered\":{\"query\":{\"match_all\":{}},\"filter\":{\"term\":{\"tags\":\"elasticsearch\"}}}}}",
"stats": "",
"took": "282.7ms",
"took_millis": 282,
"total_shards": 1,
"types": "document"
}
{
"severity": "INFO ",
"source": "index.indexing.slowlog.index",
"node": "{cluster-name}-{node-id}",
"index": "comments",
"shard": 4,
"took": "891.4ms",
"took_millis": 891,
"type": "document",
"indexing_id": 120543866,
"routing": 2012927,
"source_body": "{}"
}
FAQs
Unknown package
We found that fluent-plugin-esslowquery 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.