Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Need dynamic url parameters #120

Open
dansfelix opened this issue Apr 15, 2020 · 3 comments
Open

Need dynamic url parameters #120

dansfelix opened this issue Apr 15, 2020 · 3 comments

Comments

@dansfelix
Copy link

Hello all,

In a recent enterprise development, I needed to input data from a legacy Lotus Notes system to ELS. The Lotus Notes team created a REST webservice to read all legacy data form system, but they had to create data parameters in url to avoid timeout problems. The legacy system exists since 2001 em PRD enviroment, has large number of legacy data.

I tried to use Logstash with Http Poller Plugin but I realized dynamic parameters are no allowed. So I had to use a custom script written in PowerShell to perform the ingestion process. I called the input webservice in a loop to change parameters data values by each month since jan/2001.

My PorwerShell script looked like this to call the input webservice:

https://rjln13.mycompany.com/SEG/seg_emp.nsf/api.xsp/restRESD?beginDate=$begindate_value&endDate=$enddate_value

Http Poller Plugin needs to allow dynamic data in url to be called. Please think about it!

Thanks for attention!

@tomryanx
Copy link

If you really want to do this in logstash, consider using the http filter plugin instead. You can these use other input / filter plugins to dynamically build the URL.

@fjlozanoacosta
Copy link

@tomryanx Could you elaborate on how to build the URL dynamically?

@alirezayosefian
Copy link

Hello Dear friends
I did a Google search for فرش قیطران SEO and with the help of seobility I came across this message: Avoid internal links with dynamic URL parameters. Thank you for your help. What is this problem for?
Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants