I'm very new to ELK ; managed to set up an environment where syslog events are shipped via Filebeat to an ELK server for the actual reporting.... From Kibana --> Discover, I can see the active syslog events , and can filter to events of interest when specifying "source" along with fields "syslog_hostname" and "message" . I saved the search... =)
Now, I'd like to create a visualization, i.e. events over time, but using the "syslog_hostname" to identify the actual sendiers.. as opposed to using Filebeats index "source" which seems to only show the address of the syslog collector... . .. how is this done? I try to specify the saved search, but from there I'm stuck...
Can you elaborate a bit more on what kind of graph you'd like to create? For instance, are you trying to create a line chart with a separate line for each "syslog_hostname"?
I'm looking to create a vertical bar chart that tracks the # of events over time.
From some examples I've seen, Y-axis is count of events, X-Axis would be time, but the bar itself can somehow be split up to show a breakdown on the actual Ip addresses? (using some sort of Sub-aggregation)....
similar to what's shown here, where the bar is divided into multiple IP addresses...
If I'm understanding correctly, I think you'll want to do something like below. Change "clientip" in the terms agg into "syslog_hostname". Let me know if this isn't quite what you want.
this is exactly what I want to do, but I run into this problem:
using my filebeats input , I can create the initial vertical bar graph and add Date Histogram to the X-Axis.
when I try to add the Sub aggregation, I can't seem to select or specify "syslog_hostname" from the list of "Terms"
Does syslog_hostname show up in the list of fields on the index pattern management screen (example below)? If not, could you try refreshing the field list by clicking on the Refresh icon on the same page?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.