top of page
Recent Posts

How to create Create a dashboard in Splunk for Ansible Tower

Updated: Oct 3, 2021

In our previous post, We have discussed on How To Install Splunk in Red Hat Enterprise Linux 7 and How to integrate Ansible Tower with Splunk logging. Now we are going to create a dashboard based on Ansible Tower HTTP Event Collector (HEC) logs.


Les't start.


View the Ansible Logs from the Splunk:

We can search the logs in "Search & Reporting" windows from the Splunk Web based GUI.

  1. Click the Search & Reporting from the Home page.

  2. Click the Data Summary from the Search page

  3. Click SourceTypes > httpevent, as below.

ree

Click on the field (e.g. event) that we would like to filter in the New Search windows, After that select Add to search in menu, as below.

ree

Click on the All Fields button in the New Search windows, as below

ree

Select (checkbox) the field being filtered in the Select Fields windows, as below.

ree

Close the above window and click on Visualization button in the New Search windows, as below.

ree

Select the Pivot option, as below.

ree

Click "Selected Fields (6)" and click OK, as below.

ree

In the New Pivot window, we have filtered as "All time", as below

ree

In the New Pivot window, Click "+" under the "Split Columns" and select event , as below.


ree

and then click "Add To Table" button in next window, as below.

ree

Now, we will have a view of the information separated in columns with the name of the column being the event and their number of appearances in the logs, as below.

ree

Now, click "Save As" and select "Dashboard Panel", as below.

ree

To create a New Dashboard Title as "Ansible Tower Dashboard", also set the Panel Title, Model Title, as below.

ree

Click on Edit in the upper right menu, as below.

ree

Now, in the atd_events panel click on "Select Visualization".

ree

choose the Select Visualization as we want.

ree

And we have select “Ple Chart” and click “Save”.

ree

Now we repeat the process, and we have created filters, Table, etc as per the above steps. after that we have selected the existing dashboard "Ansible Tower Dashboard" to add new panels to the dashboard, as below.

ree

And we can furnished our existing dashboard, by creating some more panels and adding them to the existing dashboard.


Comments


Log In to Connect With Members
View and follow other members, leave comments & more.

JazakAllah© 2020. All Rights Reserved

keep growing your community bigger, Keep your IT knowledge up-to-date.

  • LinkedIn
bottom of page