Hi experts.
As per my research
index (Elastic Search) -> database (RDMS)
type (Elastic Search) -> table (RDMS)
Can i know how i can set the type?
input {
beats {
port => 5044
...
type => "%{[fields][name_of_log]}"
}
}
...
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "%{[fields][name_of_index]}"
}
}
leandrojmp
(Leandro Pereira)
January 10, 2021, 4:20pm
2
Your research seems to be outdated, there is no types in elasticsearch anymore and you should not rely on types in index for anything.
Which version of the stack are you using?
I recommend that you read about the removal of mapping types .
1 Like
thanks i am using 7.* version. So i can assume index will be the same join as database and table name
system
(system)
Closed
February 8, 2021, 1:22am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.