[−][src]Struct emmett::inputs::Gelf
This input will read GELF messages as events over the network, making it a good choice if you already use Graylog2 today.
Fields
host: Option<String>The IP address or hostname to listen on.
use_udp: Option<bool>Whether to listen for GELF messages sent over UDP.
use_tcp: Option<bool>Whether to listen for GELF messages sent over TCP.
port: Option<u64>The port to listen on. Remember that ports less than 1024 (privileged ports) may require root to use. port_tcp and port_udp can be used to set a specific port for each protocol.
port_tcp: Option<u64>Tcp port to listen on. Use port instead of this setting unless you need a different port for udp than TCP.
port_udp: Option<u64>Udp port to listen on. Use port instead of this setting unless you need a different port for udp than tcp.
remap: Option<bool>Whether or not to remap the GELF message fields to Logstash event fields or leave them intact. Remapping converts the following GELF fields to Logstash equivalents: full_message becomes event.get("message"). if there is no full_message, short_message becomes event.get("message")
strip_leading_underscore: Option<bool>Whether or not to remove the leading _ in GELF fields or leave them in place. (Logstash < 1.2 did not remove them by default.). Note that GELF version 1.1 format now requires all non-standard fields to be added as an "additional" field, beginning with an underscore. e.g. _foo becomes foo
Auto Trait Implementations
impl Send for Gelf
impl Unpin for Gelf
impl Sync for Gelf
impl UnwindSafe for Gelf
impl RefUnwindSafe for Gelf
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self