Hi All,
I have CSV file read by Splunk. Here is how the data look like. The field extraction is done.
APP CHANNEL IP
app1 chl1 1.1.1.1
app2 chl1 1.1.1.1
app3 chl1 1.1.1.2
app4 chl2 1.1.1.3
app5 chl2 1.1.1.3
app6 chl2 1.1.1.3
I wanted to extract what CHANNEL is connected from which IP and count for each IP connected.
Basically something like below
CHANNEL IP Count
chl1 1.1.1.1 2
1.1.1.2 1
chl2 1.1.1.3 3
I tried this, index=mycsv_index | stats count values(CHANNEL) as CHL_COUNT by IP . But it does not seems to give me desired results.
Please help.
Regards,
Abhijit
... View more