Dashboards & Visualizations

How to create a Table Dashboard with comparable results showing mismatches and strings in separate columns?

schrauf187
Engager

Hello Community,

I want to build a rather difficult Table Dashboard /Splunk ES features available.

Situation:
I have 3 different Log_Sources with a lot of Fields. Some of these Fields Match through all 3 Log_Files.
I want to create an overview Dashboard which shows a result for exp, the IP, and marks on the next column in which Log_source it finds the result.

Feature 1
The String can be shown in the Result column. The String can be fetched and shown from any Source it finds a value.

Feature 2
If the result mismatches for example:"in the SEP & CMDB source it should be marked in the Miss column.

I am pretty new to Splunk Development but I would gladly appreciate a rough idea how and if this can be done? How a Searches and simple XML-Code can look like.

Or even if this is a good Idea?

alt text

0 Karma
1 Solution

schrauf187
Engager

Made it work! Next Challenge 3 Log_Sources

|inputlookup cs_ad.csv

|eval missmatch=if(identity_ad=identity_sep," ","x")
|eval ad_has_value=if(identity_ad!="*","x"," ")
|eval sep_has_value=if(identity_sep!="*","x"," ")
| fillnull value=" " identity_ad, identity_sep
| eval result2=case(identity_ad==identity_sep, identity_ad,
identity_ad!=" " AND identity_sep!=" ", identity_ad+" / "+identity_sep,
identity_ad!=" ", identity_ad,
identity_sep!=" ", identity_sep,
1=1, "ERROR")
|table identity_ad identity_sep result2 ad_has_value sep_has_value missmatch

View solution in original post

0 Karma

schrauf187
Engager

Made it work! Next Challenge 3 Log_Sources

|inputlookup cs_ad.csv

|eval missmatch=if(identity_ad=identity_sep," ","x")
|eval ad_has_value=if(identity_ad!="*","x"," ")
|eval sep_has_value=if(identity_sep!="*","x"," ")
| fillnull value=" " identity_ad, identity_sep
| eval result2=case(identity_ad==identity_sep, identity_ad,
identity_ad!=" " AND identity_sep!=" ", identity_ad+" / "+identity_sep,
identity_ad!=" ", identity_ad,
identity_sep!=" ", identity_sep,
1=1, "ERROR")
|table identity_ad identity_sep result2 ad_has_value sep_has_value missmatch
0 Karma
Get Updates on the Splunk Community!

[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 ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...