Re: REST-Appender-Collector

2020-03-30 Thread Jean-Baptiste Onofre
Yeah, your use case makes sense and I did the rest collector/appender for that ;) Regards JB > Le 30 mars 2020 à 14:49, dzoni a écrit : > > nice this is my target to get the data at the end of the day to my > elasticsearch cluster > > but in my next step i have to Transport the data to one Se

Re: REST-Appender-Collector

2020-03-30 Thread Jean-Baptiste Onofre
Cool, so, you are good to me ;) Decanter 2.2.0 also works fine. FYI, I plan to submit Decanter 2.3.0 to vote today. Regards JB > Le 30 mars 2020 à 14:52, dzoni a écrit : > > very nice thank u alot > > i tried it out with the step u descriped and i received the jmx Messages on > the server-ka

Re: REST-Appender-Collector

2020-03-30 Thread dzoni
very nice thank u alot i tried it out with the step u descriped and i received the jmx Messages on the server-karaf i tried it out with the 2.3.0-Snapshot version later i will have a new try with the way i failed bevor thank u very much till now for ur time and ur help i'm happy to got in cont

Re: REST-Appender-Collector

2020-03-30 Thread dzoni
nice this is my target to get the data at the end of the day to my elasticsearch cluster but in my next step i have to Transport the data to one Server more. i'll check out how this will work so karaf1=log-Collection --> karaf2-Server --> Karaf3-Server --> ElastisSearch --> Kibana -- Sent fro

Re: REST-Appender-Collector

2020-03-30 Thread Jean-Baptiste Onofre
ee the futher informations down in the bündle list. but there are also >> csv and raw Marshaller! >> >> /What collectors are you using ? / >> Client-Side >> 1. log-collector >> 2. rest Appender >> >> Server-side >> 1. rest-collector >> 2.

Re: REST-Appender-Collector

2020-03-30 Thread Jean-Baptiste Onofre
yes see the futher informations down in the bündle list. but there are also > csv and raw Marshaller! > > /What collectors are you using ? / > Client-Side > 1. log-collector > 2. rest Appender > > Server-side > 1. rest-collector > 2. rest-servlet-collector > > /

Re: REST-Appender-Collector

2020-03-30 Thread dzoni
. rest-collector 2. rest-servlet-collector /And both rest appender/collector are on the same karaf instance (localhost) ?/ No i'm running one Client and one Server Karaf instance to simulate the log-Transport from a Client to a server *this are my bundles on the Client side* START LEVEL 100 ,

Re: REST-Appender-Collector

2020-03-30 Thread Jean-Baptiste Onofre
Here’s what I did: - on karaf1, I installed: feature:repo-add decanter 2.3.0-SNAPSHOT feature:install decanter-collector-rest-servlet feature:install decanter-appender-log I can see the collector rest servlet bound using http:list command. - on karaf2, I installe

Re: REST-Appender-Collector

2020-03-30 Thread Francois Papon
Hi, Considering you have instance A as client and intance B as master for collecting all the cluster logs. You have to configure your instances like this: Instance A: collector-log appender-rest => pull POST message to http://ip-instance-B:8181/decanter/collect Instance B: collector-rest-serv

Re: REST-Appender-Collector

2020-03-30 Thread Jean-Baptiste Onofre
Do you use json marshaller on both collector and appender ? What collectors are you using ? And both rest appender/collector are on the same karaf instance (localhost) ? Let me try a new test (I did it this morning). Regards JB > Le 30 mars 2020 à 12:42, dzoni a écrit : > > tha

Re: REST-Appender-Collector

2020-03-30 Thread dzoni
thank u very much for ur fast answers ok i changed now the config-file like this *org.apache.karaf.decanter.collector.rest-1.cfg* url=http://localhost:8181 paths=decanter/collect *org.apache.karaf.decanter.appender.rest.cfg* uri=http://localhost:8181/decanter/collect the Server-Side don't show

Re: REST-Appender-Collector

2020-03-30 Thread Jean-Baptiste Onofre
I don’t think it’s a good idea to use the root context as you might have issue/conflict with other application like webconsole. Use a specific context path (like /decanter or /decanter/collect) for instance. Take a look on the exemple I sent on my other email. Regards JB > Le 30 mars 2020 à 12:

Re: REST-Appender-Collector

2020-03-30 Thread dzoni
hi jbonofre, i configured the two config files org.apache.karaf.decanter.collector.rest-1 org.apache.karaf.decanter.appender.rest with the same uri and url by http:\\localhaost:8181 i dont know where to align the http context on a other config!?! thank for ur answer -- Sent from: http://ka

Re: REST-Appender-Collector

2020-03-30 Thread Jean-Baptiste Onofre
I think the uri is empty in etc/org.apache.karaf.decanter.appender.rest.cfg, you have to define it as explained in the documentation. Regards JB > Le 30 mars 2020 à 11:16, dzoni a écrit : > > Hello there, > > i'm Building up an infrastructure example for transporting log-Messages to a > targe

Re: REST-Appender-Collector

2020-03-30 Thread Jean-Baptiste Onofre
Basically, you can do: - install rest-servlet collector on Karaf A: feature:install decanter-collector-rest-servlet The endpoint is /decanter/collect by default, so http://karafA:8181/decanter/collect - install rest appender on Karaf B: feature:install decan

Re: REST-Appender-Collector

2020-03-30 Thread Jean-Baptiste Onofre
Hi, Did you align the HTTP context in etc/org.apache.karaf.decanter* config files ? Regards JB > Le 30 mars 2020 à 11:16, dzoni a écrit : > > Hello there, > > i'm Building up an infrastructure example for transporting log-Messages to a > target. > > In my Case im running in one Karaf (client

REST-Appender-Collector

2020-03-30 Thread dzoni
Hello there, i'm Building up an infrastructure example for transporting log-Messages to a target. In my Case im running in one Karaf (client): 1. my application 2. Decanter log-collector 3. Decanter rest-Appender there i want the collected data to send into another Karaf (server), therefor i'm r