Home / Companies / Elastic / Blog / July 2014

July 2014 Summaries

3 posts from Elastic

Filter
Month: Year:
Post Summaries Back to Blog
Elasticsearch plugins are essential components that allow users to add, redefine, or remove functionalities from the Elasticsearch ecosystem, enhancing its capabilities without altering its core code. These plugins operate at three primary component scopes—global, index, and shard—which dictate when their functionalities are activated, whether during instance initialization, index creation, or shard activation. Each scope comprises module and service components, with modules primarily acting as Guice modules that bind classes to implementations and services providing lifecycle management through start and stop methods. The creation and management of resources within plugins are crucial, necessitating proper lifecycle handling to avoid issues such as memory leaks. While plugins offer extensive possibilities for extending Elasticsearch, certain core functionalities, like the ClusterService and TransportService, are hard-coded and less flexible to modification. Nonetheless, the diverse array of use cases—from adding analyzers to custom rivers—and the growing list of community-developed plugins showcase the vibrant potential for innovation within the Elasticsearch ecosystem.
Jul 09, 2014 945 words in the original blog post.
Elasticsearch has implemented several security measures in its 1.2.x release to enhance the protection of its nodes, including changing default settings to restrict outside access and disabling dynamic scripting by default. Users are advised to avoid running Elasticsearch as a public-facing service and to ensure it operates behind a firewall, with ports 9200 and 9300 blocked from unauthorized access. Running Elasticsearch as a non-root dedicated user is recommended for increased security. Disabling dynamic scripting, previously enabled, mitigates the risk of arbitrary code execution through scripts that exploit the Java Virtual Machine. Instead, scripts should be stored in files within the config/scripts directory to maintain security while allowing functionality. Recent attacks exploiting publicly available Elasticsearch servers have prompted guidance on monitoring for breaches, such as unusual system load and modifications to critical system files. Elasticsearch encourages users to report vulnerabilities promptly to maintain system safety and integrity.
Jul 09, 2014 890 words in the original blog post.
The article by Zachary Tong discusses strategies for categorizing irregular product codes using Elasticsearch, particularly when aggregating data from multiple legacy systems. It outlines two primary methods to address inconsistencies: pre-parsing data with Grok filters in Logstash at the input level, and using regular expressions with filter buckets on existing data. Pre-parsing involves tagging data according to recognized patterns, which facilitates subsequent aggregations, while the regex approach is suitable for already indexed data, allowing users to identify product codes by patterns without re-indexing. The piece highlights the use of filter buckets to sort and analyze data based on specific criteria, emphasizing the performance benefits of filters and introducing the "filters bucket" feature in Elasticsearch version 1.3.0, which simplifies applying multiple filters simultaneously. The overall message encourages leveraging these techniques to manage and derive statistics from irregular data efficiently.
Jul 08, 2014 725 words in the original blog post.