Splunk Search

Field values

obularajud16
Explorer
  •  

 

Ghj

sourcetype=access_combined | eval action = if(isnull(action) OR action="", "Unknown", action) | timechart span=40h  values(action),count(action)

 

Labels (2)
0 Karma
1 Solution

obularajud16
Explorer

Got the answer with the below

Spoiler
sourcetype=access_combined | eval action = if(isnull(action) OR action="", "unknown", action) | bin span=72h _time | stats count as totals by action, span(=_time,72h) | sort -_time,action​

View solution in original post

0 Karma

obularajud16
Explorer

Got the answer with the below

Spoiler
sourcetype=access_combined | eval action = if(isnull(action) OR action="", "unknown", action) | bin span=72h _time | stats count as totals by action, span(=_time,72h) | sort -_time,action​
0 Karma

thambisetty
SplunkTrust
SplunkTrust
sourcetype=access_combined 
| eval action = if(isnull(action) OR action="", "Unknown", action) 
| bin _time span=40h 
| chart count over _time by action
————————————
If this helps, give a like below.
0 Karma

to4kawa
Ultra Champion

sourcetype=access_combined | eval action = if(isnull(action) OR action="", "Unknown", action) | timechart span=40h count by action

0 Karma

obularajud16
Explorer

As I mentioned, i need data in row format not in column format to group by multiple fields

 

timechart span=40h count by action, status

 

 

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Easiest way is combine those values like:

eval a_s = action . "-".status 

| timechart span=40h count by a_s

 

Otherwise you must start to play with bin + stats/chart/xyseries

r. Ismo

0 Karma
Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...