Use http output to send data


(Punit Naik) #1

At my company we have our own database. We can store data into it by making http requests to it.
So I wanted to store logs to the database using http output method. Now there is a multitude of logs and its big data in itself. So I wanted to ask whether using HTTP output will be a wise choice?
And if it is, how will HTTP output ship the data. Of course if the data is very large, a request per line is obviously not feasible. So does it buffer the data and then send it as a request?

Really sorry to say but the documentation on the official website doesn't seem to be helpful at all. Not just for this topic, but for all the topics.

Please guide me! Thanks :slightly_smiling:


(Magnus B├Ąck) #2

So does it buffer the data and then send it as a request?

No, I don't believe there's any batching of events. It's one request per event.

Really sorry to say but the documentation on the official website doesn't seem to be helpful at all. Not just for this topic, but for all the topics.

If you can be a bit more specific it'll be easier to make improvements.


(Mark Walkom) #3

Yep, we're always open to suggestions on the docs!


#4

When looking at http output plugin 's documentation, i wasn't able to find a precise answer to:

  • how will plugin behave if url is not responding? it will buffer things like elasticsearch one?
  • how can i notice if there are some error? how can i configure it to output error somewhere?

Thanks for your work.

Fabrizio


(system) #5