Integrating Syslog-ng with OpenObserve

TLDR dch asked about adding syslog-ng as a source for OpenObserve. Prabhat confirmed it possible, explaining it uses OpenObserve's _bulk API, and provided relevant resources. dch also asked about handling demo and real events in OpenObserve's cloud, which Prabhat explained. Mark mentioned working on an openobserve native syslog-ng destination.

Photo of dch
dch
Fri, 30 Jun 2023 07:51:44 UTC

are there plans to support syslog-ng as source?

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:07:26 UTC

syslog-ng supports sending data to elasticsearch using _bulk API. The same can be used to send data from syslog-ng to OpenObserve

Photo of dch
dch
Fri, 30 Jun 2023 09:10:44 UTC

thanks - is the API then?

Photo of dch
dch
Fri, 30 Jun 2023 09:10:52 UTC

and I would need to align syslog-ng format with that?

Photo of dch
dch
Fri, 30 Jun 2023 09:11:59 UTC

like so, apparently

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:24:34 UTC

Yes.

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:24:41 UTC

also

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:26:54 UTC

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:27:09 UTC

this the_bulk API in OpenObserve

Photo of dch
dch
Fri, 30 Jun 2023 09:29:52 UTC

ok thats an excellent find - zinc was the old product name?

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:31:17 UTC

yes we built zinc earlier and then built OpenObserve

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:31:35 UTC

Photo of dch
dch
Fri, 30 Jun 2023 09:32:35 UTC

ok cool so you kept the external api and what you learned, and moved it to rust + sled. nice.

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:34:28 UTC

yes. We applied things we learnt with zinc in OpenObserve building it specifically for observability as opposed to a general purpose text search tool.

Photo of dch
dch
Fri, 30 Jun 2023 09:47:41 UTC

ok, that url from syslog-ng team works perfectly.

Photo of dch
dch
Fri, 30 Jun 2023 09:47:59 UTC

what I am not sure on, is how to delete the "Demo Organisation" in my cloud dashboard, and for the events to go into the custom organisation I created

Photo of dch
dch
Fri, 30 Jun 2023 09:48:10 UTC

but at least we have events now

Photo of dch
dch
Fri, 30 Jun 2023 09:49:10 UTC

oh,

Photo of dch
dch
Fri, 30 Jun 2023 09:49:19 UTC

no these are just "demo" events, not real ones.

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:49:33 UTC

> what I am not sure on, is how to delete the "Demo Organisation" in my cloud dashboard, and for the events to go into the custom organisation I created Are you using OpenObserve cloud or self hosted ?

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:49:57 UTC

in cloud its just demo data

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:50:23 UTC

You should ingest data in your own org

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:50:38 UTC

and change org accordingly.

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:52:02 UTC

I think we should have one more entry for syslog-ng just like filebeat and others

Photo of Prabhat
Prabhat
Fri, 30 Jun 2023 09:52:22 UTC

you can copy the details from filebeat for now for syslog-ng

Photo of Mark
Mark
Fri, 30 Jun 2023 15:25:41 UTC

I’m also working on an openobserve native syslog-ng destination; early progress is very promising. Basing it on the (very capable, and OSS) Splunk Connect for Syslog, which does a wonderful job classifying data — which makes querying on openobserve a breeze.