[−][src]Struct emmett::inputs::Http
Using this input you can receive single or multiline events over http(s). Applications can send an HTTP request to the endpoint started by this input and Logstash will convert it into an event for subsequent processing. Users can pass plain text, JSON, or any formatted data and use a corresponding codec with this input. For Content-Type application/json the json codec is used, but for all other data formats, plain codec is used.
This input can also be used to receive webhook requests to integrate with other services and applications. By taking advantage of the vast plugin ecosystem available in Logstash you can trigger actionable events right from your application.
Fields
additional_codecs: Option<HashMap<String, String>>
cipher_suites: Option<Vec<String>>
host: Option<String>
keystore: Option<&'static Path>
keystore_password: Option<String>
password: Option<String>
port: Option<u64>
max_pending_requests: Option<u64>
response_headers: Option<HashMap<String, String>>
ssl: Option<bool>
ssl_certificate: Option<&'static Path>
ssl_handshake_timetout: Option<u64>
ssl_key: Option<&'static Path>
ssl_key_passphrase: Option<String>
ssl_verify_mode: Option<String>
threads: Option<u64>
tls_max_version: Option<u64>
tls_min_version: Option<u64>
user: Option<String>
verify_mode: Option<String>
Auto Trait Implementations
impl Send for Http
impl Unpin for Http
impl Sync for Http
impl UnwindSafe for Http
impl RefUnwindSafe for Http
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