Hi Team,
I'm using type for separating the logs category, but in the logs file I am getting error (warning) message like below.
[2019-10-22T14:48:01,104][WARN ][logstash.outputs.elasticsearch] Detected a 6.x and above cluster: the
typeevent field won't be used to determine the document _type {:es_version=>7}
The document of logstash says to use the type for apache and other things.
Below is the config snippet.
grep 'replace => { "type"' /etc/logstash/conf.d/logstash.conf
mutate { replace => { "type" => "nginx_access" }}
mutate { replace => { "type" => "apache_access" }}
mutate { replace => { "type" => "sm_access" } }
mutate { replace => { "type" => "smps_logs" }}
mutate { replace => { "type" => "apigee_logs" }}
Let me know the correct way to categorize the logs.
Thanks