Is it possible to extract information from logs and display that?

Duration: 485.81 ms Billed Duration: 486 ms Memory Size: 1536 MB Max Memory Used: 126 MB

So I’m kind of new to Grafana but I’ve been assigned to create a useful dashboard. I’m fiddling with Grafana but an idea came to me.

In the quotation block is a sample log that I have. I was wondering if it would be possible to extract the 485.81 from Duration and then have my graph display that.

Any help / advice would be appreciated! ty :slight_smile:

Hi @dlee2015

Can you provide a bit more detail about what it is you are trying to achieve? Maybe somescreenshots?

I’m doing this with syslog information but all the info scraping is being done in InfluxDB. I’m running the latest version and using Flux to pull info that I want out of the text value and injecting the info into new columns. Once I have all that ripped apart I use Grafana 8 to visualize it. Looks like you would need some regex to pull data out of yours but there is a regex function in Flux. I’m new to Flux and it didn’t take long to figure out.

This topic was automatically closed after 364 days. New replies are no longer allowed.