Splunk Search

Create data table conditinally

dhirendra761
Contributor

My logs are below content :

Export of US successfully transferred to FR
Import successfully ended on US from export of FR with exit code 0
Export successfully ended on SP with exit code 0 

means that
* file created on FR server was copied into the server of FR : OK
*the DATA from FR was added to US : OK

based on below logs I Need to create below table.

++++Exports+++

GE SP FR UK

GE Blank OK OK KO

SP OK Blank OK KO

FR OK OK Blank OK

UK OK OK OK Blank

Is it possible to create table like this. Export is table and bold tags are rows and columns of table.
I am trying a lot, but not succeeding. Any help will be appreciated.

Tags (2)
0 Karma
1 Solution

493669
Super Champion

As already stated,
if you want to make blank for same field values try where/search condition like below-

|where File_Created!=File_Copied| maketable File_Created,File_Copied,count| rename File_Created as Country

View solution in original post

493669
Super Champion

As already stated,
if you want to make blank for same field values try where/search condition like below-

|where File_Created!=File_Copied| maketable File_Created,File_Copied,count| rename File_Created as Country
Get Updates on the Splunk Community!

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...

Explore the Latest Educational Offerings from Splunk (November Releases)

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...

New This Month in Splunk Observability Cloud - Metrics Usage Analytics, Enhanced K8s ...

The latest enhancements across the Splunk Observability portfolio deliver greater flexibility, better data and ...