Ditutup

Help indexing data in Elasticsearch and Kibana

Hello,

I pretty much am there indexing data into Elasticsearch. The trouble is, I am not able to index my custom date format into Elasticsearch, and therefore Kibana cannot see it as a date time and I cannot graph it. This is what I have tried.

I'm really stuggling. My elasticsearch data and mapping is in this format:

**Data**

{

"test" : [ {

"data" : "119050300",

"date" : "10:00 2019-06-03"

} ]

}

**Mapping**

{

"mappings": {

"properties": {

"date": {

"type": "date",

"format": "HH:mm yyyy-MM-dd"

},

"data": {

"type": "integer"

}

}

}

}

In Kibana I couldn't find this data, as the date didn't seem to appear even when I used the correct range. However, if I remove the time aspect and do this instead, it works fine:

**Data**

{

"test" : [ {

"data" : "119050300",

"date" : "2019-06-03"

} ]

}

**Map**

{

"mappings": {

"properties": {

"date": {

"type": "date",

"format": "yyyy-MM-dd"

},

"data": {

"type": "integer"

}

}

}

}

Can someone please tell me how to include the time and not have it break.

Kemahiran: Elasticsearch, Java, RESTful

Tentang Majikan:
( 12 ulasan ) Sevenoaks, United Kingdom

ID Projek: #19946681

8 pekerja bebas membida secara purata $33/jam untuk pekerjaan ini

Kuvvat

hi how are you. could you send me your real log and logstash filter for that? you need remap time field . thanks good luck

$30 USD / jam
(5 Ulasan)
3.3
adricabrelles

Hi, I'm an expertise admin in Elasticsearch, Kibana and Logstash. As you can see in my comments anv alorations, also portfilio I was working here in several projects related to elk. I hope we can work together, Lagi

$33 USD / jam
(1 Ulasan)
2.3
kroy7662

Hi I am kundan roy and I can help you to create index. I will also help you to setup entire kibana dashboard. for further discussion please reach me.

$38 USD / jam
(0 Ulasan)
0.0
$33 USD / jam
(0 Ulasan)
0.0
ionburca8478

Hello! Your proposal looks really interesting for me because work on this area of technologies is good challenge. I like helping you to resolve your tasks and realise your decisions for improving business using web Lagi

$41 USD / jam
(0 Ulasan)
0.0
jamescarl2019

Hello. How are you? I am very interested in your project. I have done exactly the same thing before. Look my profile. It is a simple problem. I will help you. Let me introduce my experience. As a team of cloud managem Lagi

$25 USD / jam
(0 Ulasan)
0.0
vivekgplus

You can use any of 2 methods here 1. make a scripted field in kibana to convert the date in elasticsearch understandable format. 2. Convert date to epoch millis before putting data in elasticsearch. Relevant Skills an Lagi

$33 USD / jam
(0 Ulasan)
0.0
$27 USD / jam
(0 Ulasan)
0.0