Controller (SaaS, On Premise)

cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting metric information into Elasticsearch

SOLVED
Producer

Exporting metric information into Elasticsearch

I need to export some of my metric information out to Elasticsearch for archiving and I read that the way to do it is to use the http_poller logstash plugin for this. My problem is that I have to use OAUTH 2.0 to connect to our Controller API and the http_poller plugin doesn't support the dynamic creation and use of tokens.

 

I've read of some developer's creating PowerShell scripts to generate an OAUTH token and then inject that into the http_poller plugin but I'm researching other possibilities as well.

 

Has anyone ever had to do something like this or does anyone have any suggestions.

 

TIA,

Bill Youngman

Exporting metric information into Elasticsearch
2 REPLIES 2
Architect

Re: Exporting metric information into Elasticsearch

Hi Bill,

 

We have done this, but used a shell script to make the calls to the Controller API and store the output into files, then had the logstash file plugin ingest them into Elastic.

 

Mark

Highlighted
Producer

Re: Exporting metric information into Elasticsearch

I like this - firm believer in keep it simple