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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

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