Dashboards & Visualizations

How to Show Negative Reporting Using lookup with Search query

aditsss
Motivator

Hi Everyone,

I have one requirement:

I have one Usage Dashboard where I am showing the dashboard Name with their Count.

Below is the search query for it:

index="_internal" EventLogFiles
| eval DashboardName=if(like(uri, "%EventLogFiles%"), "EventLogFiles", "Unknown Dashboards")
| stats count by DashboardName |append[search index="_internal" InformaticaExtract
| eval DashboardName=if(like(uri, "%InformaticaExtract%"), "InformaticaExtract", "Unknown Dashboards")
| stats count by DashboardName]|sort DashboardName

I am getting result like this :

DashboardName                                                      Count

EventLogFiles                                                               500

InformaticaExtract                                                     345

Now My requirement is like this:

I need to create one lookup file(Dashboard.csv) which consists of Dashboard Name like EventLogFiles   and InformaticaExtract      etc. 

I want my lookup to combine with my search query to show the counts.

I want my DashboardName to come from lookup File and my count should come from my search query.

Can someone Guide me on that.

Thanks in advance.

 

Labels (2)
0 Karma

to4kawa
Ultra Champion
0 Karma

aditsss
Motivator

Can someone please guide me on this.

0 Karma

aditsss
Motivator

Can someone please guide me on this.

It will be really helpful.

0 Karma

aditsss
Motivator

Can someone please guide me on this.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...