Activity Feed
- Karma Re: how can I create a top 5 list of multiple values from one source for somesoni2. 06-05-2020 12:49 AM
- Karma Re: how can I create a top 5 list of multiple values from one source for mayurr98. 06-05-2020 12:49 AM
- Karma Re: how can I create a top 5 list of multiple values from one source for mayurr98. 06-05-2020 12:49 AM
- Karma Re: How do I use the data from a ping script to build a 30 day availability chart? for somesoni2. 06-05-2020 12:49 AM
- Karma Re: How to round a millisecond output? for adonio. 06-05-2020 12:49 AM
- Karma Re: How can i do the search in multiple indexes for alacercogitatus. 06-05-2020 12:46 AM
- Posted Re: How to round a millisecond output? on Splunk Search. 06-26-2018 06:03 AM
- Posted Re: How to round a millisecond output? on Splunk Search. 06-25-2018 10:05 AM
- Posted Re: Creating mean time to repair out of ping output script on Splunk Search. 06-25-2018 08:40 AM
- Posted How to round a millisecond output? on Splunk Search. 06-25-2018 08:37 AM
- Tagged How to round a millisecond output? on Splunk Search. 06-25-2018 08:37 AM
- Tagged How to round a millisecond output? on Splunk Search. 06-25-2018 08:37 AM
- Tagged How to round a millisecond output? on Splunk Search. 06-25-2018 08:37 AM
- Posted Creating mean time to repair out of ping output script on Splunk Search. 06-07-2018 09:52 AM
- Tagged Creating mean time to repair out of ping output script on Splunk Search. 06-07-2018 09:52 AM
- Posted Re: How do I use the data from a ping script to build a 30 day availability chart? on Splunk Search. 02-27-2018 12:18 PM
- Posted Re: Why has the Splunk DB Connect 3.1.1 stopped sending data to indexers? on All Apps and Add-ons. 02-13-2018 02:21 PM
- Posted Re: Why has the Splunk DB Connect 3.1.1 stopped sending data to indexers? on All Apps and Add-ons. 02-13-2018 02:20 PM
- Posted Re: Why has the Splunk DB Connect 3.1.1 stopped sending data to indexers? on All Apps and Add-ons. 02-13-2018 07:41 AM
- Posted Re: Why has the Splunk DB Connect 3.1.1 stopped sending data to indexers? on All Apps and Add-ons. 02-12-2018 12:04 PM
Topics I've Started
Subject | Karma | Author | Latest Post |
---|---|---|---|
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 |
06-25-2018
10:05 AM
Thanks for the response
Here's the base of the search with MTTR is the mean time to repair or average outage time averaged by duration. The "avg_outage" is epoch:
| transaction node startswith="up_or_down=down" endswith="up_or_down=available"
| stats avg(duration) as avg_outage by node
| eval MTTR=tostring(avg_outage, "duration")
| table node MTTR
... View more
06-25-2018
08:40 AM
With a lot of painstaking work, this is what we've come up with:
index=nid_availability NIDIP= "chosen IP address from dropdown field2"
| rename NIDIP as IP
|lookup nidnodes.csv IP
| transaction NID startswith="up_or_down=down" endswith="up_or_down=available"
| stats avg(duration) as avg_outage by NID
| eval MTTR=tostring(avg_outage, "duration")
| table NID MTTR
The "up_or_down" is an extract from the output of the ping script.
... View more
06-25-2018
08:37 AM
Does anyone know how to round a time readout from 00:07:06.53846153846155 to 00:07:06.54?
... View more
06-07-2018
09:52 AM
Hi all,
I know there's probably a simple answer, but being relatively new to Splunk, I'm still trying to get my head around the logic. I want to create a dashboard panel that shows the "mean time to repair" using a log time stamp built off a ping script I've developed. So it would calculate the total number of "down" outputs and then when it becomes available, use the "pingtime" to show the MTTR. How do I do that using the "eval"? Or is eval the wrong way? Here's the events that I'm looking at.
6/6/18
8:26:48.000 AM
20180606082648 IP address is available
NID = <nodename>
pingtime = 20180606082648
status = available
6/6/18
8:21:56.000 AM
20180606082156 IP address is down or not reachable
NID = <nodename>
pingtime = 20180606082156
status = down
... View more
- Tags:
- splunk-enterprise
02-27-2018
12:18 PM
Needed to add a second eval to fix the above issue. "|eval down=if(isnull(down),0,down)"
... View more
02-13-2018
02:21 PM
I changed the query history to only go back a year and that seemed to open things up.
... View more
02-13-2018
02:20 PM
I changed the query history to only go back a year and that seemed to open things up.
... View more
02-13-2018
07:41 AM
no, nothing. I have a ticket opened with support, but was hoping to see if anyone else had this experience with 3.1.1?
... View more
02-12-2018
12:04 PM
Just to add, when I run the same query in another tool, the data is there and current. This has to be in the DB connect config somewhere. The weird thing is that it was working, and now it's not. I noticed I cannot set up a Rising input no matter what I do. So maybe the issue is there.
... View more
02-12-2018
11:56 AM
I have 4 data inputs built off of a MySQL connection. Two of them work, while the other two don't. I've tried changing the "Max Rows to Retrieve", the "Fetch Size", the "Execution Frequency", the JDBC URL to adjust for the timezone, rebuilding the indexer to another name, disabling and re-enabling, and tried to change things from a batch to a rising input type. Nothing is working. I know the data is there and current, because I can use other tools to extract it. I don't think it's the indexer. This has something to do with how DBX is grabbing the data, but I have no idea what could have changed to just stop the data from coming in. Any help would be appreciated.
... View more
02-08-2018
07:53 AM
Nope that didn't fix it. Singled out nodes using the same search do not show anything when Availability is at 100.00. On the full node panel, it's ok.
... View more
02-07-2018
01:10 PM
Just made a change and took out the IPregex and just replaced it with $field2$. That brought in the nodes that are in the green range, but not anything that is 100.00. So it has something to do with the round and the decimal I believe.
... View more
02-07-2018
01:07 PM
I do have one more issue. I've tried to create a single panel using the above that searches for one node in the "IPregex". This only works for any node that isn't at 100% or in the top range. So any node that's ok, doesn't appear in the Availability column. Here's the comparison of the two searches (I made some changes to the original search...I just took out the rangemap and used graph color ranges).
So the working search:
index=index IPregex=* upordown=* |rename upordown as status | rename IPregex as IP |lookup nodes.csv IP |chart count over NODENAME by status | eval Availability=round((available*100)/(available+down),2) | table NODENAME,Availability
The non-working search:
index=index IPregex=10.0.0.1 upordown=* |rename upordown as status | rename IPregex as IP |lookup nodes.csv IP |chart count over NODENAME by status | eval Availability=round((available*100)/(available+down),2) | table NODENAME,Availability
... View more
02-07-2018
08:37 AM
I like it!!! Thanks. I'm actually going to use both and build a nice dashboard with drop downs to pick the node. Thanks for your help.
... View more
02-06-2018
02:50 PM
well, it's basically a chart with a right side legend of 5 pages of nodes and not graph. But I like where you're going with this. What ultimately I need is a simple graph or table showing a percentage up time of each node on the list (about 43 of them) for a sales person so she can report that this node has been up for 30 days straight or whatever if a customer complains that they aren't getting data. So perhaps the table with "bright lights" is where I need to go with this, if you know what I mean.
... View more
02-06-2018
02:38 PM
OK, thanks. I'll let you know.
... View more
02-06-2018
02:22 PM
just "available" or "down". I thought about putting the packet loss output in there, but thought I'd keep things simple for now.
... View more
02-06-2018
02:00 PM
I have a ping script sending up and down info to a log. I've parsed out the IP to node name using a lookup table, a regex, and an updown extraction report, but how can I push that into a chart that shows the status of each node, up or down, over 30 days? Basically, what happens when I do what I'm doing is things just repeat over and over again unless the status changes. Here's what I have right now:
index=index IPregex=* upordown=* | rename IPregex as IP | lookup nodes.csv IP |dedup IP |table _time,NODENAME,up_or_down
Any help would be greatly appreciated.
... View more
02-06-2018
01:53 PM
Ultimately what I needed was a regex extraction called "matched" which looked like this
matched\s(?P.*)
This added the events that came from log on the forwarder. Then create the top 5.
index=index matched=* |stats count by matched |sort - count
... View more
01-16-2018
10:54 AM
Data is fine as I get data without the lookup. I just can't do anything with it. The lookup table is not helping. Thanks for the help
... View more
01-16-2018
10:40 AM
Permissions are set globally. So that's not it. I should be seeing events with the lookup, so perhaps the data is not parsed correctly.
... View more
01-16-2018
09:55 AM
Inspecting the job shows that the remote search seems to be doing what it should:
litsearch (index=aircontrol DEBUG (Rule="Questionable Radio Link" OR Rule="Bad Cable" OR Rule="Data Abuser Warning" OR Rule="Data Abuser Critical" OR Rule="AP Down" OR Rule="Low Noise Floor" OR Rule="Low Noise Floor Access Points" OR Rule="High Latency" OR Rule="Warning CPU" OR Rule="High CPU" OR Rule="Warning CPU Access Points" OR Rule="High CPU Access Points" OR Rule="Number of Client >=25" OR Rule="Number of Client >=30" OR Rule="Number of Client >=35" OR Rule="Customer Interface LAN Status = Down")) | fields keepcolorder=t "*" "_bkt" "_cd" "_si" "host" "index" "linecount" "source" "sourcetype" "splunk_server" | remotetl nb=300 et=1516035600.000000 lt=1516125059.000000 remove=true max_count=1000 max_prefetch=100
... View more
01-16-2018
09:51 AM
OK, wait, I need to back up. The only thing that works is
"index=aircontrol DEBUG "Questionable Radio Link" OR Rule="Bad Cable" OR Rule="Data Abuser Warning" OR Rule="Data Abuser Critical" OR Rule="AP Down" OR Rule="Low Noise Floor" OR Rule="Low Noise Floor Access Points" OR Rule="High Latency" OR Rule="Warning CPU" OR Rule="High CPU" OR Rule="Warning CPU Access Points" OR Rule="High CPU Access Points" OR Rule="Number of Client >=25" OR Rule="Number of Client >=30" OR Rule="Number of Client >=35" OR Rule="Customer Interface LAN Status = Down"
When I try "index=aircontrol DEBUG [inputlookup aircontrol.csv]" I get nothing. They're basically the same.
... View more
01-16-2018
09:46 AM
But building a top 5 doesn't work. So what I'm thinking is the lookup table DOES work, but the top 5 for whatever reason, doesn't.
... View more