Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Unable to Generate Logstash configuration #2

Open
arkroop opened this issue Jan 17, 2018 · 5 comments
Open

Unable to Generate Logstash configuration #2

arkroop opened this issue Jan 17, 2018 · 5 comments

Comments

@arkroop
Copy link

arkroop commented Jan 17, 2018

Hi,

I am using the Logstash with the node red and create some example workflow. I am trying to Generate the Logstash configuration after the deployment. But I am not getting any option to generate the Logstash configuration. Please let me know how to generate the configuration in node-red.

Thanks,
Arkroop

@consulthys
Copy link
Owner

consulthys commented Jan 17, 2018

Hi @arkroop, you can use the nr2ls.js script.

    USAGE: node nr2ls <flowId> <outFile>
      <flowId> the id of the flow to generate the Logstash config for
      <outFile> the name of the Logstash config file (defaults to flow name)

@arkroop
Copy link
Author

arkroop commented Jan 17, 2018

Hi @consulthys

Thanks for your prompt response. I am trying to execute the given command in nodejs command prompt but getting issue. Please find the attached screen shot of the same. Let me know whats wrong I am doing and correct way to do the same.

Thanks,
Arkroop
command

@consulthys
Copy link
Owner

You need to cd into the node-red-contrib-logstash folder you've checked out

@arkroop
Copy link
Author

arkroop commented Jan 17, 2018

@consulthys

Thanks It works now. But I would like to know that can we do the same using Node-Red UI or this is manual task to run the same with command prompt.

Thanks,
Arkroop

@consulthys
Copy link
Owner

Ideally, I'd like to put a button somewhere on the UI, but I've not gotten there yet.

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

No branches or pull requests

2 participants