Graylog integration with Grafana

#1

hello grafana community,
I ask for help please, , in my workspace, i installed graylog 2.5 (Os: centos7) and I collect the logs of several device . i am really stuck, i dont know a lot about Grafana…help please how integrate Grafana witch Gralog please.
I followed whole step in the link of graylog marketplace, but i couldn’t make the graylog integration with Grafana (os: centos7)

Thanks

#2

What are you using for your Grafana data source?

In other words, where is telegraf sending the data it collects using this
graylog plugin?

Antony.

1 Like
#3

I just installed installed telegraf ( yum install telegraf) , os : centos7 … I just installed influxdb ,telegraf, Grafana, I did not configure anything else… I have not configured it
…i don’t know a lot about Telegraf… I collect logs with graylog and I want to make dashboards logs with Grafana …please help
thanks

#4

Hi @pooh On second paragraph: “This dashboard uses Graylog plugin from Telegraf.”
please look at this link


I configured this file in /etc/telegraf/telegraf.d/graylog.conf but I want to know the integration how is done after. i am really stuck please help

#5

Hi Pooh
On second paragraph: “This dashboard uses Graylog plugin from Telegraf.”
please look at this link
https://marketplace.graylog.org/addons/962af1ae-dee3-400a-9207-7af2188fca49

Yes, I read that link from the first time you posted it. It tells me how
telegraf is getting data from graylog. It doesn’t tell me where telegraf is
sending the data afterwards (because this plugin doesn’t care - it can be
used with any backend storage you like; it’s just for getting data from a
different source).

I configured this file in /etc/telegraf/telegraf.d/graylog.conf but I want
to know the integration how is done after. i am really stuck please help

telegraf takes data from one source and sends it to another. It understands
lots and lots of input formats, and with the plugin you’ve added, it now
understand another one.

However, telegraf also needs to know where to send the data to, and this is
presumably going to be the same data store that you tell Grafana to read and
display from.

I hope that helps to explain how things fit together:

graylog -> telegraf -> data store -> Grafana

You need to decide which data store is best for your needs, depending on what
sort of data it is and how you want Grafana to be able to query it.

Regards,

Antony.

1 Like
#6

Hello @pooh
So thank you and thank you for explanation ```
graylog -> telegraf -> data store -> Grafana

can i connect with elasticsearch ???
https://qbox.io/blog/how-to-use-grafana-to-pull-data-from-elasticsearch

![aooo|690x237](upload://tKBGZO4HDVTYhJXJItgZxv1HOd0.png)
#7

example of answer on the combination between graylog and Grafana

#8

#9

@pooh
I’m sorry for bothering you I am under pressure, I have to find a solution to see the log dashbords with grafana … a few more days I have to finish my project

#10

I’m sorry, but this is not my job. I contribute here when I have time and
sufficient expertise to answer someone’s question. The thing which is my job
takes priority.

Someone else here may be able to help you, and someone else here may have
experience with graylog (which I do not), but I don’t believe I have anything
further to contribute on this question beyond what I’ve already said.

It sounds to me as though your problem is that you have not configured the data
store between telegraf and Grafana, however that is a guess on my part.

My only experience of connecting these two is by using InfluxDB, and there are
plenty of tutorials and guidelines on the Internet for getting those three
working together. My experience is that telegraf needs to be told to write to
Influx, Influx needs no configuration whatsoever, and Grafana can then be
configured to get its data from Influx, the whole setup of which I found pretty
simple (especially the Influx part).

If you need further help from anyone here, I suggest you explain ina bit more
detaisl what you have trie to do to get things working and what specific
problem you are running into.

Simply saying “I configured this telegraf input plugin and I can’t get Grafana
to work” leaves out so much detail that we don’t know what you’re trying to do
(or have done) with the bits in the middle, and which bit may be missing or
incorrect.

Regards,

Antony.

1 Like
#11

Hello @pooh i create a dashboard use this elasticsearch Data Source graylog + grafana on the same machine and the same @ip graylog port 9000 and grafana 3000 but i’m not sure that grafana work corecttly in me my case… :slightly_frowning_face: in my project I collect the logs of Firewall Palo alto and switch cisco, I want to see their dashboards

#12


in my project I collect the logs of Firewall Palo alto and switch cisco, I want to see their dashboards this graph that is displayed it tells me nothing !!