Questions tagged [kibana-6]
Use this tag for topics specific to version 6 of the data exploration and visualization tool Kibana. Use it together with [kibana] and / or [elasticsearch]
144
questions
0
votes
0
answers
14
views
Getting Entity information from kibana after POST request
I'm trying to use JHipster V6.10.1 with MySQL and Jhipster-console to visualize Jhipster entities that are updated through POST requests. I'm able to see that requests went through from the Kibana ...
0
votes
0
answers
28
views
How to split string in kibana without split and regex function?
I am trying to split string with comma and trying to add in list in kibana painless script as below:
def skillid = doc['skillid.keyword'].value.toString();
List lst = new ArrayList();
For(int i =...
0
votes
0
answers
68
views
Split on Token not found in kibana
I am trying to split string with comma in kibana painless script as below:
def skillid = doc['skillid.keyword'].value;
List lstskills = new ArrayList();
lstskills = skillid.splitOnToken(',');
With ...
1
vote
1
answer
27
views
Search all JSON records that contain a particular attribute present using Kibana Console
I have an Elastic Search data store where I am storing JSON data.
Say it has the following format:
{
"orderNumber": "1234"
"contactInformation": {
"...
0
votes
0
answers
16
views
Visualization of two seperate "Log-Types" as Percentage
currently i am trying to visualize data as percentage value and i am facing the following problem.
--
I have two logstash sets.
The first set, is the count of all request which are made in my ...
-1
votes
1
answer
71
views
How can I write a query to fetch data from elasticsearch based on status?
I want to fetch data from elastic search based on status. If the status is active/inactive I want to fetch a list of data.
Here I attached a single record for example. How can I get it?
{
"took&...
0
votes
0
answers
76
views
Attempting to visualize data integrity of indexed elasticsearch data in a kibana dashboard
We have semantic triples, otherwise known as SPO (subject-predicate-object) data, indexed in elasticsearch version 6.6. I am creating dashboards in kibana to give a dashboard to visualize data ...
0
votes
1
answer
211
views
How to update the timeFieldName in index Pattern in Kibana
I am trying to update the timeField for a index pattern using the below code but I am getting an document missing exception. I have fetched correct id from the Index patterns URL. Could someone guide ...
0
votes
2
answers
72
views
How to write ElasticSearch Query on the basis of distinct objects?
Here I am trying to get the distinct attribute name on the basis of tenant_id and hierarchy_name , this is my data which is Indexed
{
"hits": [
{
"_index&...
0
votes
1
answer
398
views
How to Index our CSV file into Elastic Search using Java?
Is there any way to index our CSV file into Elastic Search using Java , I was doing it using logstash earlier but now I need to code it in Java and run dynamically ..
I tried with Index API but it ...
0
votes
1
answer
235
views
How to upload csv file in elasticsearch using logstash?
this is my logstash.conf file data
input {
file {
path => "/home/niteshb/*.csv"
start_position => "beginning"
sincedb_path => "/dev/null"
}
} ...
0
votes
1
answer
146
views
How to write complex DSL query in Elasticsearch?
This is what I have used for creating index in multi field mapping
curl -X PUT http://localhost:9200/mapping_log
{ "mappings":{ "properties":{"data1:{"type": "...
1
vote
1
answer
378
views
Automate exporting CSV report in Kibana
I am trying to automate the csv export in Kibana. I know we can always send POST request to generate the report but the file will be available in reporting tab and not downloaded automatically.
Is ...
0
votes
1
answer
376
views
How to aggregate data between two filters in Kibana?
I have two filters transfer* and transfer_failures. Each filter is the output of a database query using ES DB queries. I need to visualize a graph that aggregate monthly the number of ...
0
votes
1
answer
68
views
How to search for a nested key in kibana
I have kibana documents that look like this
{
"_index": "echo.caspian-test.2020-06-11.idx.2",
"_type": "status",
"_id": "...
0
votes
0
answers
146
views
Kibana Discover UI doesn't recognize newly added indexes in an Alias
I create monthly indexes from Java Code (using Elastic HL Rest Client) and they have an alias name.
So eg, the index names are of the format elk-gps-kafka-MMYYYY and the alias name is elk-gps-kafka-...
0
votes
1
answer
1k
views
Kibana/Elasticsearch 6.8 - delete_by_query returns reason "blocked by: [FORBIDDEN/8/index write (api)];"
I'm using the Dev Tools in Kibana 6.8 to delete docs by query but I received a 403 with the type "cluster_block_exception", reason "blocked by: [FORBIDDEN/8/index write (api)];".
I ...
0
votes
1
answer
199
views
Defining scripted field based on nested object Array
I have index mapping like this:
{
"mappings": {
"session": {
"dynamic_templates": [
{
"string_fields"...
0
votes
1
answer
220
views
Search a String in Kibana
Trying to search for a complete json request in kibana webapp.
Sample
Request body::
{"mobileNumber":"***** ","custType":"abc","rejectReasonDesc":"","applicationId":"*****"}
i want to filter only ...
1
vote
1
answer
359
views
Kibana query for sentence (words with specific order) with 4 digit number
I am pretty new to Elasticsearch and want to find below sentence in message field
completed in ???? ms
where ???? are numbers
I have this at the moment
{
"query": {
"query_string": {
...
0
votes
1
answer
421
views
How to search a substring in a json string attribute in Kibana (Elastic Search)?
I have an attribute stored in Elastic Search DB. The attribute is somewhat of this form:-
{
"a":{
"key1":"value1",
"key2":"value2"
}
}
Now, I want to search for all instances which have ...
0
votes
1
answer
76
views
How to visualise the division between the result of two aggregation in Kibana (metrics)
I'm using kibana 6.8.1-oss and I'd like to visualise the result of the division between two aggregation.
To be more specific, I have a field A and a field B.
I want to create the result of sum(A)/...
2
votes
0
answers
246
views
DSL Query in Kibana Discover not working as Kibana Dev tools
Below are MappingIndex, Value Inserted and Nested Search query with inner hits
** Creating Elastic Mapping Index**
PUT employee
{
"mappings": {
"emp_db": {
"properties": {
...
3
votes
1
answer
4k
views
Filter square brackets on Kibana
I'm struggling to filter square brackets on my log messages in Kibana.
Suppose I have the messages:
[BOOK] The Book 32 was sold
Exception on buying BOOK
And I want to filter only messages having ...
0
votes
0
answers
155
views
Min_score doesn’t working with aggs using elasticsearch
Can any elastic search member help me for prepare aggregation query with min_score?
In below i wrote my query, and this elastic query run but not getting any document count, but 1000 score documents ...
0
votes
1
answer
59
views
Kibana return results where a specific field is unique
So have been used to using GrayLog to build queries like this and struggling to get my head around Kibana so I need a few pointers to get me going.
I have an index that I want to search for various ...
1
vote
0
answers
209
views
Kibana auto login
I have Kibana hosted in unix server. But we dont have access to the server. we only have login details for the specific to the kibana application.
So now i want to display the dashboard without ...
1
vote
1
answer
145
views
Want to fetch latest record from the list of records in kibana using DSL query
We are using the ELK v6.6 version.
We have requirement in Kibana that we have list of records which are displaying in the Kibana data table. We need to display last updated record on top of the table....
2
votes
0
answers
61
views
Custom plugin menu item does not show up in Kibana deployed using Kubernetes
I have created a custom kibana plugin using the instructions from the link below.
When I build and install the generated plugin on a kibana instance deployed using a pre-built version, the plugin ...
0
votes
0
answers
128
views
Showing multiple metrics with conditions and calculation in visualize tool in Kibana
I want to create a table in the Visualize tool in Kibana where I show several metrics with condition and calculcation. I have created a generic example in excel, see below. I know the basics. On how ...
0
votes
1
answer
192
views
ElasticSearch - How to Update with Api Update
I need help to use Api Update in elasticsearch, the problem is what I have when I want to update this level further inside the structure, for example:
{
"mainLevel": [
{ "idmainLevel": 1,
...
0
votes
1
answer
52
views
Kibana 6.8.2 deploying on K8S ( using security xpack feature )
Not so long ago I decided to deploy my Logstash and Kibana services on Kubernetes , but then I've been caught by a little problem .
Problem : I want to use 2 pods ( to provide load balancing ) of ...
0
votes
1
answer
1k
views
Root mapping definition has unsupported parameters type nested in elastic search
I’m trying to create an index in elasticsearch using kibana dev tools but i’m facing the following errors.please suggest me on this.
PUT xyz
{
“mappings”:{
“abc”:{
“type”:”nested”,
“...
0
votes
0
answers
20
views
Unable to write data from two separate db2 tables into an Elastic Index
I have created two pipelines for two tables in Kubernetes. Each pipeline corresponds to one table in DB2. They both show under monitoring tab in Kibana. but the index is populated only with the data ...
0
votes
0
answers
235
views
Elastic Query DSL Wont search Square Brackets within JSON field
I am trying to query a index which has a json response in one of the columns called "print_response_message" .
Sample values for this column returned are like below in 2 records.
...
0
votes
1
answer
412
views
How to specify tenant in API request to Elasticsearch?
I need to get all indices from Global tenant in Kibana 6.7.1:
GET /api/saved_objects/_find?type=index-pattern
How can I specify tenancy?
0
votes
1
answer
103
views
doc['field'].value never returning values
Using Kibana/ Elasticsearch version 6.6.
Trying to run the below simple painless script:
String val = "Vanished";
if(doc.containsKey('type')) {
return doc['type'].value;
}
return val;
In the ...
1
vote
1
answer
81
views
Kibana Dashboard instead of my application dashboard
Is it possible to integrate Kibana dashboard in my application instead of my application dashboard, that means when you click on dashboard tab it should open Kibana dashboard.
1
vote
1
answer
187
views
Kibana : How to show only limited lines/words around search term, and not full document?
I have documents, having 1000s of lines, indexed in elastic search and I am trying to search these documents using Kibana. It is working fine. But as Kibana returns full document in search result, ...
3
votes
2
answers
6k
views
How can I clone dashboard and visualizations?
While working on new version of dashboards I need to leave previous versions unchanged. So I need to clone existing dashboard and save it as original name with some postfix - for example v.2.
I know ...
0
votes
1
answer
162
views
Create dashboard using aws billing details on kibana dashboard hosted on aws elasticsearch service
Has anyone imported AWS billing details to aws kibana dashboard?
Tried to add custom plugins in aws elasticsearch for kibana but did not found option to add plugins.
1
vote
1
answer
93
views
How to look for a log entry in kibana without filtering out other ones?
While analyzing logs, we sometimes need to look for logs just before or after a certain line.
I can't seem to find a way to search for anything without filtering out everything else.
For example I'...
3
votes
3
answers
3k
views
Kibana - Not able to start kibana on windows 10
I want to implement centralized configuration with ELK for our Spring boot microservices.
I have installed 3 different version of Kibana 6.3 , 6.7 and 7 version.
un-comment port and elasticsearch....
0
votes
0
answers
364
views
How to set custom @timestamp in Kibana?
I am using AWS managed ELK setup (ver 6.4.3). As per my understanding, Kibana uses @timestamp field to sort the data.
I have a field by name 'ts' (in epoch millis). I want to convert the format of '...
0
votes
1
answer
464
views
Kibana is ending up with error code of 503
When i am using curl command to check the kibana status , it says:
curl -I http://localhost:5601/status
HTTP/1.1 503 Service Unavailable
retry-after: 30
content-type: text/html; charset=utf-8
...
4
votes
1
answer
5k
views
Set a Kibana dashboard filter through the url
I created a Kibana dashboard, containing some visualization. I can successfully embed the dashboard using the provided url:
{url}/app/kibana#/dashboard/{dashboard_uuid}?embed=true&_g=(...
0
votes
1
answer
684
views
Is there a way to add a title for Kibana Data Table visualization?
I have a created a Data Table with Kibana 6.4 showing daily SLA status to be included in a dashboard.
However I need to add a title to that Data Table (To be added above the table) but i cannot find ...
0
votes
1
answer
72
views
Kibana - dashboard - search visualisation is broken
Since last version (6.7.1) On every dashboard, search visualise is like
for
Even with dark theme
I only have time and source instead of detailed fields
Morever while expanding it, it's white ...
0
votes
0
answers
630
views
Reporting Kibana
I am using kibana 6.5.4 which means that I should be able to see the reporting tab in my kibana as Xpack should've already been installed. However, the reporting tab is not shown.
I've followed ...
0
votes
0
answers
1k
views
Inserting GeoPoint in Elasticsearch is not working
I am sending Geo data in lat-lon pairs (as a GeoPoint) into Elasticsearch 6.3. But it stores it as a String and not GeoPoint.
Is there any plugin required for ELK to accept data as GeoPoint?
What is ...