Does StackDriver support Syslog protocol? - google-cloud-platform

Does StackDriver support Syslog protocol? if so, can someone share an example?
For context, I'm looking to write logging entries to StackDriver using Syslog protocol. I've looked through the documentation and haven't a way to do so. So, far the closes approach seems to be using StackDriver agent. However, I want to leverage API Gateways such as Apigee, which support Syslog protocol through Message Logging Policy.
I know that REST API could be leveraged to send these entries. However, I'm trying to avoid creating additional HTTP layers.
Any help is appreciated. Thanks in advance!

It's not supported. Confirmed by the team. I have ended up implementing a Node.js wrapper of the REST API using service account credentials for OAuth. I will publish the package in NPM for anyone who wants to leverage same.

Related

How to use Facebook GraphQL

How to intercept and send HTTP requests for GraphQL?
I saw some people are able to find security bugs via GraphQL on Facebook. How do they do it?
Are there any tools available to test these calls?
Facebook GraphQL is an internal API so I'm not sure anyone here will be able to give you a detailed answer on using it. For testing GraphQL, you will want to check to see if a public schema is available.
Starting at https://graphql.org/ or going into the spec itself http://facebook.github.io/graphql/ might be of interest to you.
If the schema is not available then you're going to have to understand how the app works, follow the requests and make assumptions (like in the case with Facebook)

Is possible run message broker as a windows service in wso2?

I already was able to create API Manager and Enterprise Integrator as service, following this tutorials: https://docs.wso2.com/display/EI611/Installing+as+a+Windows+Service
https://docs.wso2.com/display/AM210/Installing+as+a+Windows+Service
But i can't found a tutorial to show me the way to configure Message Broker to be installed as windows service. Could anyone help me?
Thank you.
I discovered the solution from that. Unfortunately the WSO2 don't have the support to create a message broker as a service yet. Been like that, you can't do that yet, unless you find anothers way out of the original platform to do so.
Its possible to do that through the YAJSW by installing the version of 11.03.
I tried and resolved the same by keeping the ESB and Message Broker as a different services in the windows service.
Just change the name and convention as per the services and maintain the uniqueness which you want to execute as a service.
Also, do the steps as provide by the YAJSW steps to install as a service for both either EI or ESB and Message Broker.
Follow the below link for the steps,
https://docs.wso2.com/display/ESB500/Installing+as+a+Windows+Service#InstallingasaWindowsService-SettinguptheYAJSWwrapperconfigurationfile
Thanks,
Praveen Tallakokula

Can nagios be configured to send notifications using web services?

From reading this article , it looks like Nagios Core is configured out of the box to send out notifications using email.
The Helpful Resources section does mention alternate notification mechanisms. I was wondering if there is a way to configure Nagios to send out notifications using web services.
Has anyone tried this before. Could someone please point me to some useful resources/links online.
Nagios can be configured to call any script (see service_notification_commands in contact definitions and command definitions in command.cfg), so, just provide a script which then calls a webservice (e.g., using wget, curl or any other technology).
See https://serverfault.com/a/480587/237109.

How to subscribe or intercept "policy updates" in the WSO2 Identify Server

According to the documentation, Notifications for policy updates is supported for "XACML 2.0/3.0", but I could not find additional information about it. In general we need to either subscribe or intercept policy updates taking place in our WSO2IS being triggered via API calls or Admin Console.
Any hints will be appreciated, thanks !
Policies can be stored as registry resources. Subscriptions can be created for any updates to the resources along with the required notification method. For more details on subscription to registry resources, pls refer http://docs.wso2.org/display/Governance460/Managing+Subscriptions
Actually there are two ways that can be achieved this.. One way would be installed the registry resource features in to WSO2IS as mentioned in above. But there is some better way to do.. identity server provides some extension for it. You can read this for more details.. it is more flexible way than using above

Invoking a web service API by using Text Message

Now I am creating an iOS application. I also implemented some web services. My requirement is : "The user should be able to call a web service API by Sending a Text Message(SMS)". After a lot of research I found out that there a provider called Clickatell(http://www.clickatell.com/). But I don't know how can I configure it? Please help me in configuring this. Or Is there any other APIs or SMS gateways providing this service?
Disclaimer, I do developer evangelism part time at Nexmo.
Here are a few SMS APIs that I've used (I've not really used Clickatell, but I've gone through the signup process, and the following APIs seem a lot simpler to use):
Nexmo
Twilio
Tropo
All three APIs are straight forward REST/HTTP APIs.
You can call the API directly from your mobile application, however, you should consider if you really want to then compile your API credentials into your application. It may be better to host a kind pf proxy that your application uses - here's some example code used as a verification service, but it's essentially the same concept: https://github.com/Nexmo/Verify
I would suggest to take a look at Mogreet's new Developer Web Site
Very easy to use REST/HTTP APIs and very powerful. It supports sending SMS/MMS with awesome quality for all media types.