Questions

Find answers to frequently asked development questions. For information about Better Stack products, explore our docs.

/
Popular searches:

How To Color Python Logging Output?

If you are new to logging in Python, please feel free to start with our Introduction to Python logging to get started smoothly. Otherwise, here is how to color python logging output: đź”­ Want to cent...

Logging
Python
Questions · Better Stack ·  Updated on October 5, 2023

Kibana Logstash Elasticsearch | Unindexed Fields Cannot Be Searched

The error "Unindexed fields cannot be searched" in Kibana typically occurs when you try to search or filter on fields that are not indexed in Elasticsearch. This happens because Elasticsearch, by default, only indexes certain fields for search and aggregation operations. Fields that are not indexed cannot be used for querying or filtering, which is why you encounter this error.

Kibana
Questions · Better Stack ·  Updated on October 26, 2024

Logstash Optional Fields in Logfile

When processing logs with Logstash, some fields in the log files might be optional, meaning they may or may not be present in every log entry. To handle optional fields in Logstash, especially when using Grok filters, you can design your Grok patterns and configuration to be flexible enough to accommodate these cases.

Logstash
Questions · Better Stack ·  Updated on October 26, 2024

Error: Index_not_found_exception

The index_not_found_exception error in Elasticsearch occurs when a request is made to an index that does not exist. This error typically happens when you're trying to query, delete, or index documents into an Elasticsearch index that hasn’t been created yet or was accidentally deleted.

Elasticsearch
Questions · Better Stack ·  Updated on October 26, 2024

What Is the Format of Logstash Config File

The Logstash configuration file (.conf) is structured to define how Logstash processes and transforms data. It consists of three main sections: input, filter, and output. Each section is responsible for a different stage of the data pipeline.

Logstash
Questions · Better Stack ·  Updated on October 26, 2024

Kibana Returns "Connection Failed"

The "Connection Failed" error in Kibana typically indicates an issue with Kibana's ability to connect to Elasticsearch. This can happen due to several reasons, ranging from Elasticsearch being down, incorrect configurations in Kibana, or networking issues.

Kibana
Questions · Better Stack ·  Updated on October 26, 2024

Change Default Mapping of String to "Not Analyzed" in Elasticsearch

To change the default mapping of string fields to "not analyzed" in Elasticsearch, especially in Elasticsearch 5.x and earlier (when string was a field type), you would typically modify the mappings of your indices. In Elasticsearch 6.x and later, string fields were replaced by text (for analyzed content) and keyword (for not-analyzed content). Thus, the approach would differ slightly depending on the Elasticsearch version you're using.

Elasticsearch
Questions · Better Stack ·  Updated on October 26, 2024

How to Log Js Errors From a Client Into Kibana?

To log JavaScript errors from a client (e.g., a web application) into Kibana, you'll need to set up a process that captures these errors on the client side, sends them to a logging service, and then indexes them into Elasticsearch, which Kibana can then visualize.

Kibana
JavaScript
Questions · Better Stack ·  Updated on October 26, 2024

Which Serilog Sink to Use for Sending to Logstash?

When sending logs from Serilog to Logstash, you'll generally want to use a sink that can format the logs in a way that Logstash can process efficiently. For this purpose, the Serilog.Sinks.Network package is commonly used, specifically the Tcp or Udp sinks, depending on your needs.

Serilog
Logstash
Questions · Better Stack ·  Updated on October 26, 2024

Sync Postgresql Data With Elasticsearch

Syncing PostgreSQL data with Elasticsearch involves setting up a system that regularly updates Elasticsearch with changes from a PostgreSQL database. This can be achieved through several methods, including using data synchronization tools, writing custom scripts, or employing dedicated ETL (Extract, Transform, Load) tools.

PostgreSQL
Elasticsearch
Questions · Better Stack ·  Updated on October 26, 2024

Removing Old Indices in Elasticsearch

Removing old indices in Elasticsearch is important for managing disk space and maintaining optimal performance. Here are several methods to delete old indices in Elasticsearch:

Elasticsearch
Logstash
Questions · Better Stack ·  Updated on October 26, 2024

How to Add a Numeric Filter on Kibana Dashboard?

Adding a numeric filter to a Kibana dashboard allows you to filter data based on numerical values, such as range limits or specific numeric criteria. Here's how you can add and use numeric filters effectively in Kibana:

Kibana
Logstash
Questions · Better Stack ·  Updated on October 26, 2024

What Are the Main Differences Between Graylog2 and Kibana

Graylog and Kibana are both popular tools used for log management and data analysis in combination with centralized log collection systems like Elasticsearch. However, they differ significantly in their features, use cases, and focus. Below is a comparison of the main differences between Graylog2 (often referred to simply as Graylog) and Kibana:

Graylog
Kibana
Logstash
Questions · Better Stack ·  Updated on October 26, 2024

How to Handle Non-matching Logstash Grok Filters

In Logstash, handling non-matching Grok filters is essential to ensure that data processing continues even if a Grok pattern fails to match. By default, if a Grok pattern doesn't match, Logstash ad...

Logstash
Questions · Better Stack ·  Updated on October 26, 2024

Using Log4j With Logstash

Integrating Log4j with Logstash Log4j and Logstash together enable centralized logging for Java applications, helping with real-time log analysis, troubleshooting, and monitoring. Here's a concise ...

Logstash
Log4j
Questions · Better Stack ·  Updated on October 26, 2024

How to Integrate Elasticsearch With Mysql?

Integrating Elasticsearch with MySQL allows you to index and search data from a relational database in Elasticsearch, enabling powerful full-text search capabilities and analytical queries. There are several ways to integrate Elasticsearch with MySQL, depending on your use case, including syncing data between MySQL and Elasticsearch or querying both systems.

Logstash
Elasticsearch
Questions · Better Stack ·  Updated on October 26, 2024

How to Do "Where Not Exists" Type Filtering in Kibana/elk?

In Kibana and Elasticsearch, you can perform a "WHERE NOT EXISTS" type of filtering (i.e., finding documents where a field does not exist) by using a must_not clause in an Elasticsearch query or applying the appropriate filter in Kibana's interface.

Questions · Better Stack ·  Updated on October 26, 2024

Export to Csv/excel From Kibana

Exporting data from Kibana to CSV or Excel can be done in a few different ways, depending on what data you want to export, such as raw search results, aggregation results, or table data. Below are the common methods to achieve this:

Questions · Better Stack ·  Updated on October 26, 2024

How to Retrieve Unique Count of a Field Using Kibana + Elastic Search

To retrieve the unique count of a field using Kibana and Elasticsearch, you can use the "Cardinality Aggregation" in Kibana's interface. This allows you to calculate the unique values of a specifie...

Questions · Better Stack ·  Updated on October 26, 2024

Redis Vs Rabbitmq as a Data Broker/messaging System in Between Logstash and Elasticsearch

When choosing between Redis and RabbitMQ as a data broker or messaging system between Logstash and Elasticsearch, it’s important to evaluate based on specific use cases and requirements: 1. Redis T...

Questions · Better Stack ·  Updated on October 26, 2024

Showing 21 to 40 of 745 results

Make your mark

Join the writer's program

Are you a developer and love writing and sharing your knowledge with the world? Join our guest writing program and get paid for writing amazing technical guides. We'll get them to the right readers that will appreciate them.

Write for us
Writer of the month
Marin Bezhanov
Marin is a software engineer and architect with a broad range of experience working...
Build on top of Better Stack

Write a script, app or project on top of Better Stack and share it with the world. Make a public repository and share it with us at our email.

community@betterstack.com

or submit a pull request and help us build better products for everyone.

See the full list of amazing projects on github

Thank you to everyone who
makes this possible!

Here is to all the fantastic people that are contributing and sharing their amazing projects: Thank you!