rkhapre
(RK)
August 28, 2016, 9:16am
1
How to define action in http output?
Here is my http output file
output {
http {
url => "https://xyz,com?WSDL"
content_type => "text/xml;charset=UTF-8"
http_method => "post"
format => "message"
message=> "create_object_service_name"
mapping => [ "Name", "%{subject}", "Description","%{message}"]
headers => ["Host: xyz.com:443","Authorization: Basic a2V2aW4uc2Nob3R0OlhEQzg4NTk0"]
}
}
warkolm
(Mark Walkom)
August 28, 2016, 9:28am
2
What do you mean by action?
rkhapre
(RK)
August 28, 2016, 9:35am
3
By Action i mean SOAP Action like Create/Update/Delete
I tried my solution using SOAP UI that is working well.
I my case i need only POST data, so i am using http outpit
I want to incorporate same here with logstash http-output
I want to define the following stuff in my output config file
Endpoint
Username
Password
SOAP Request URL
Pass the variable value for sending the data to endpoint
I posted one more question in forum, but i ddint got any response so I proceeded with this
steps
This is previously posted question
Hi All
I have a CSV file which contains three simple fields and i want post its value one after another to http endpoint using LS http output plugin
The csv files contain 3 header : Name, Description, Age
The end point WSDL URL is
https://abc.xyz.com/acnUserService/UserService?WSDL
I have its username and Password
For End point i have a XML
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ide="http://xmlns.xxxx.com/a…
Please let me know if we can do this?
warkolm
(Mark Walkom)
August 28, 2016, 9:55am
4
rkhapre
(RK)
August 28, 2016, 10:01am
5
Yes i understand that
In my headers , i want to define
Username, password, Authentication : Basic/NTLM,
and in message data with variables.
How to use parameters to define. In the documentation it is not clear.
Is it possible for you to give me any example config file of http output for SOAP. where we can do POST action
eperry
(Ed)
August 28, 2016, 2:57pm
6
rkhapre
(RK)
August 28, 2016, 3:10pm
7
Hi
Thanks for responding this.
I don't think i will have to create a new plugin.
The information that i am lacking here is how to provide this below information
Username
Password
Send Data with variables
I have read a blog, where he has tried out this, but that is incomplete for me
But i don't have information with practical example. So basically i have incomplete information how to define
message and header