[ML] Use event.timezone in file_structure_finder ingest pipeline (#52720)
This is because beat.timezone was renamed to event.timezone in elastic/beats#9458
This commit is contained in:
parent
9b05f6a668
commit
cf122d13b8
|
@ -315,7 +315,7 @@ If the request does not encounter errors, you receive the following result:
|
||||||
{
|
{
|
||||||
"date" : {
|
"date" : {
|
||||||
"field" : "release_date",
|
"field" : "release_date",
|
||||||
"timezone" : "{{ beat.timezone }}",
|
"timezone" : "{{ event.timezone }}",
|
||||||
"formats" : [
|
"formats" : [
|
||||||
"ISO8601"
|
"ISO8601"
|
||||||
]
|
]
|
||||||
|
@ -702,7 +702,7 @@ If the request does not encounter errors, you receive the following result:
|
||||||
{
|
{
|
||||||
"date" : {
|
"date" : {
|
||||||
"field" : "tpep_pickup_datetime",
|
"field" : "tpep_pickup_datetime",
|
||||||
"timezone" : "{{ beat.timezone }}",
|
"timezone" : "{{ event.timezone }}",
|
||||||
"formats" : [
|
"formats" : [
|
||||||
"yyyy-MM-dd HH:mm:ss"
|
"yyyy-MM-dd HH:mm:ss"
|
||||||
]
|
]
|
||||||
|
@ -1577,7 +1577,7 @@ this:
|
||||||
{
|
{
|
||||||
"date" : {
|
"date" : {
|
||||||
"field" : "timestamp",
|
"field" : "timestamp",
|
||||||
"timezone" : "{{ beat.timezone }}",
|
"timezone" : "{{ event.timezone }}",
|
||||||
"formats" : [
|
"formats" : [
|
||||||
"ISO8601"
|
"ISO8601"
|
||||||
]
|
]
|
||||||
|
@ -1743,7 +1743,7 @@ this:
|
||||||
{
|
{
|
||||||
"date" : {
|
"date" : {
|
||||||
"field" : "timestamp",
|
"field" : "timestamp",
|
||||||
"timezone" : "{{ beat.timezone }}",
|
"timezone" : "{{ event.timezone }}",
|
||||||
"formats" : [
|
"formats" : [
|
||||||
"ISO8601"
|
"ISO8601"
|
||||||
]
|
]
|
||||||
|
|
|
@ -43,7 +43,7 @@ public final class FileStructureUtils {
|
||||||
private static final int KEYWORD_MAX_LEN = 256;
|
private static final int KEYWORD_MAX_LEN = 256;
|
||||||
private static final int KEYWORD_MAX_SPACES = 5;
|
private static final int KEYWORD_MAX_SPACES = 5;
|
||||||
|
|
||||||
private static final String BEAT_TIMEZONE_FIELD = "beat.timezone";
|
private static final String BEAT_TIMEZONE_FIELD = "event.timezone";
|
||||||
|
|
||||||
private FileStructureUtils() {
|
private FileStructureUtils() {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue