You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in test 7.x following working fine
mutate { split => [ "shorthost2", "." ] }
mutate { add_field => { "shorthost22" => "%{[shorthost2][0]}" } }
in production i have upgrade to 6.8 but following is not working
mutate {
split => [ "shorthost2", "." ]
}
mutate { add_field => { "shorthost1" => "%{[shorthost2][0]}" } }
and previous setting also not working
mutate {
split => [ "shorthost2", "." ]
add_field => { "shorthost1" => "%{shorthost2[0]}" }
}
Surprisingly , in both 6.5 & 6.8 for system metricbeat beat.hostname following is working
mutate {
split => [ "shorthost2", "." ]
add_field => { "shorthost1" => "%{shorthost2[0]}" }
}
only for data which comes from our custom script python script for rhel 5 . is not working
if i remove add_field => { "shorthost1" => "%{shorthost2[0]}" } all is fine but i am not able to hostname withfqdn in another field . tried all combination but still new shorthost1 have %{[pythonbeat][Hostname]} as value .
can you help on this
The text was updated successfully, but these errors were encountered:
in test 7.x following working fine
mutate { split => [ "shorthost2", "." ] }
mutate { add_field => { "shorthost22" => "%{[shorthost2][0]}" } }
in production i have upgrade to 6.8 but following is not working
mutate {
split => [ "shorthost2", "." ]
}
mutate { add_field => { "shorthost1" => "%{[shorthost2][0]}" } }
and previous setting also not working
mutate {
split => [ "shorthost2", "." ]
add_field => { "shorthost1" => "%{shorthost2[0]}" }
}
Surprisingly , in both 6.5 & 6.8 for system metricbeat beat.hostname following is working
mutate {
split => [ "shorthost2", "." ]
add_field => { "shorthost1" => "%{shorthost2[0]}" }
}
only for data which comes from our custom script python script for rhel 5 . is not working
if i remove add_field => { "shorthost1" => "%{shorthost2[0]}" } all is fine but i am not able to hostname withfqdn in another field . tried all combination but still new shorthost1 have %{[pythonbeat][Hostname]} as value .
can you help on this
The text was updated successfully, but these errors were encountered: