Hi,
I’m new to Grafana and its systems around grafana.
Just installed Grafana with influxdb for my proof of concept. It’s Amazing!
My request for today is. I will be receiving source data in json format. What is the best option to get into influxdb (or any other db) so Grafana can read data and render dashboard please?
I know, its more on the database, but would really appreciate if you could give me some suggestions/recommendation please
Thinking of these
what is the best db in my scenario?
or we should have a plugin to covert json to influxbd (going to request influxdb support as well)
I will be receiving source data in json format.
What is the best option to get into influxdb (or any other db) so Grafana
can read data and render dashboard please?
telegraf.
Thinking of these
what is the best db in my scenario?
We don’t know unless you tell us what your scenario is
For example: what sort of data are you delaing with, how many samples per
second / minute / hour are you expecting to receive, what sort of queries do
you need to do on that data to get Grafana to show it to you?
or we should have a plugin to covert json to influxbd (going to request
influxdb support as well)
See above - use telegraf.
Just to make things clear (since you mention a “plugin”) - Grafana does not
store data. Grafana helps you to visualise the data which it fetches from a
back-end data store, such as InfluxDB. There are many different data stores
which Grafana supports, and the best one for your needs will be determined by
the type and quantity of data you’re dealing with, the type of queries you
need Grafana to do on it (Grafana can only perform queries supported by the
data store query language) and, to some extent, which you are most familiar
with.
Hi @pooh, pls check the sample json produced by a Jenkins job. could you kindly help with help me with the telegraf config file to parse this sample json please?
few more requests
from below sample json, we can to skip “failures”…we dont need to store them in influxdb
how to add custom name value pair using telegraf config? e.g “projects” : “example1.com”
Hi @pooh, actually your initial suggestion help. I tried inputs.file (with data_format=“json”) and I can see my json data in the table. I didn’t recognize my own test data…how silly I am
But I think, its reading the same file again and again and creating duplicates records.
Anyone has a better suggestions to handle json files please?
I have used kafka_consumer plugin and output plugin is influxdb and data_format is influx . Data is present in influxdb but not able to see it in grafana.
What is the issue . Is there any time issue . anyone can help here