Activity Feed
- Karma Re: Where is the Location of knoweldge objects in the Backened? for richgalloway. 04-07-2021 10:45 AM
- Posted Where is the Location of knoweldge objects in the Backened? on Knowledge Management. 04-07-2021 08:43 AM
- Posted Subsearch append question !! on Splunk Enterprise. 11-18-2020 04:11 AM
- Posted How to I save my search query output as a lookup ? on Splunk Enterprise. 10-08-2020 04:11 AM
- Posted Re: How do I get search start time and end time value ? on Splunk Search. 09-24-2020 09:32 AM
- Posted Re: How do I get search start time and end time value ? on Splunk Search. 09-24-2020 08:58 AM
- Posted How do I get search start time and end time value ? on Splunk Search. 09-24-2020 01:10 AM
- Posted Re: How to transpose a table? (without using Transpose command) on Splunk Search. 09-09-2020 07:50 AM
- Posted How to transpose a table? (without using Transpose command) on Splunk Search. 09-09-2020 06:31 AM
- Posted Re: What is the permissible field value length ? on Splunk Search. 09-01-2020 07:03 AM
- Posted What is the permissible field value length ? on Splunk Search. 09-01-2020 06:36 AM
- Posted Re: How to match for a condition for main menu ? on Dashboards & Visualizations. 08-28-2020 04:11 AM
- Karma Re: How to match for a condition for main menu ? for richgalloway. 08-27-2020 07:19 PM
- Posted How to match for a condition for main menu ? on Dashboards & Visualizations. 08-27-2020 08:52 AM
- Posted Re: How to create an overview/menu dashboard? on Dashboards & Visualizations. 08-27-2020 04:59 AM
- Posted Re: How to create an overview/menu dashboard? on Dashboards & Visualizations. 08-27-2020 04:56 AM
- Posted Re: How to refer to a column value ? on Dashboards & Visualizations. 08-14-2020 06:31 AM
- Posted Re: How to refer to a column value ? on Dashboards & Visualizations. 08-14-2020 06:28 AM
- Karma How do you highlight a table cell based on a field of the search result? for florianduhme. 08-14-2020 05:50 AM
- Posted How to refer to a column value ? on Dashboards & Visualizations. 08-14-2020 05:23 AM
Topics I've Started
Subject | Karma | Author | Latest Post |
---|---|---|---|
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 |
03-09-2020
03:31 AM
I have set up alerts in Splunk and usually I hard-code the recipients email id in the TO field, and it works flawlessly. But in this case , I cannot hardcode the user email id in the alert's TO field, because the user ID has to be extracted from the event (from the event that satisfies the alert condition).
Example (sample event that will satisfy the alert query):
40.145.234.438 329x399740x1 PERSON1 [09/Mar/2020:05:29:23 -0400] "DELETE /rest/api/2/issue/TES1-2/butchers?username=PERSON2 HTTP/1.1" 204 - 40 "https://phutan-dev.mayhem.com/browse/RES1-2" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36" "1k35v6f"
IF the word butcher is identified then the event should be picked (I can handle until this) and from the event extract PERSON1 and PERSON2 field and trigger email to these two PERSONS as PERSON1@mayhem.com. PERSON2@mayhem.com through the alert.
I have extracted PERSON1 and PERSON2 from the event. I'm just looking to append @mayhem.com to them and trigger alert emails to these two persons only.
... View more
- Tags:
- splunk-enterprise
Labels
- Labels:
-
email
02-19-2020
07:43 AM
Can't we use REX to parse it on user side. We have no option to do it (restricted by admin).
All the events look identical, just like the one I posted. Could you assist with some parsing to extract the info
... View more
02-19-2020
06:56 AM
I have been dumped with events what appears to be memory info.
memTotalMB memFreeMB memUsedMB memFreePct memUsedPct pgPageOut swapUsedPct pgSwapOut cSwitches interrupts forks processes threads loadAvg1mi waitThreads interrupts_PS pgPageIn_PS pgPageOut_PS
92101 66926 7175 77.6 21.4 3497702952 3.6 909526 998772788 4232481396 16909785 302 1012 4.07 0.00 7876.48 341.04 41.79
I am supposed to display it in a tabular format like memTotalMB, memFreeMB etc... as the headers and 9201 , 66926 etc.. as their values . Could anyone help me with the query please ?
... View more
02-13-2020
02:15 AM
My dashboard has multiple panels,
One particular panel contains a linechart indicating avg response time spanned by 5 min. I want to be able to click any point in the line chart and it should show me the associated events in that same panel responsible for generating that point.
Basically I want to be able to drill down and see the resulting events in the same place/panel itself.
Is it doable in Splunk?
... View more
- Tags:
- splunk-enterprise
01-09-2020
04:07 AM
Adding stylesheet=dark.css does make my dashboard dark. However , not all users like dark mode. Can we have a button or something in the dashboard so that we can use it to toggle between dark or light mode ?
... View more
01-08-2020
05:34 AM
@493669 But I got the idea, on how to deal with it.
Thank you for pointing me towards the right direction.
... View more
01-08-2020
04:41 AM
I used as you suggested near COUNTRY (i.e. near host)
<input type="multiselect" token="choose_host" searchWhenChanged="true">
<label>Step-2 >> Host</label>
<fieldForLabel>Vehicle</fieldForLabel>
<fieldForValue>Vehicle</fieldForValue>
<search id="idSearchSelectIndex">
<query>index = $choose_index$ | table host | dedup host</query>
<earliest>-60m@m</earliest>
<latest>now</latest>
<default></default>
<prefix>(</prefix>
<suffix>)</suffix>
<valuePrefix>host="</valuePrefix>
<valueSuffix>"</valueSuffix>
<delimiter> OR </delimiter>
</search>
</input>
But after selecting one index(CONTINENT) , nothing populates in host(Country).
It shows the error "
Duplicate values causing conflic"
... View more
01-08-2020
04:16 AM
@493669 - Just to add more clarification. In our system index value is CONTINENT, COUTRY is HOST and STATE is SourceType
So basically looking to select multiple hosts and then should able to see sourcetypes from all those hosts to be populated. Also to be able to select multiple index and the hosts of all those selected indices should come.
... View more
01-08-2020
03:10 AM
In the dashboard, I have created three multi-select input fields.
CONTINENT, COUNTRY , STATE
Example : When I click on the CONTINENT drop down as "Asia", the COUNTRY drop down multiselect field automatically populates with asian coutries such as India, China, Japan etc... Now I select "India" in the COUNTRY field and STATE gets populated with Indian States such as Delhi, Goa etc... This works fine.
Say, for STATE the background spl running for the multiselect value population is something like this
index = $continent_token$ | host=$country_token$ | table STATE
The issue arises, when I select multiple values in any of the fields, then the next field doesn't populate any values. It only works when I select one field. Example : If I multi-select INDIA and CHINA under COUNTRY field then the STATES doen't populate anything. If i select only one, then only it populates.
Could anyone guide me on how to deal with this????
I want to be able to see the STATES of both INDIA and CHINA if I select (multiselect 2 countries) .
Just to add more clarification. In our system index value is CONTINENT, COUTRY is HOST and STATE is SourceType
So basically looking to select multiple hosts and then should able to see sourcetypes from all those hosts to be populated. Also to be able to select multiple indexes and the hosts of all those selected indices should come.
Thank you.
... View more
12-17-2019
02:30 AM
The lookup contents are externally updated by another program. I don't have control over it. And the look up is placed in a windows drive folder. What I am looking for is, to read the lookup automatically so that I can get the updated contents.
... View more
12-17-2019
02:13 AM
I have a lookup file called PriceFactot.csv. I have defined this lookup table and then in query I use
| inputlookup PriceFactor.csv and get my data.
The thing is, PriceFactor.csv's content changes twice a day. SO each time I have to upload/define the new lookup in splunk , or else in the query in shows me stale data.
Is there anyway to make Splunk to keep reading the lookup file or dynamically update itself etc...or any other suggestion??
... View more
- Tags:
- splunk-enterprise
06-25-2019
06:49 AM
@renjith.nair
Could you please guide me where to add these two tags..
I get errors in Source while adding under form.
Here is how my dashboard sample looks like.
<form>
<dashboard hideEdit="true">
<label>2.2 - Mayhem DB BSA Dashboard BURN</label>
<fieldset submitButton="false" autoRun="true">
<input type="time" token="field1">
<label>Time-picker</label>
<default>
<earliest>-4h@m</earliest>
<latest>now</latest>
</default>
</input>
</fieldset>
<row>
<panel>
false
<title>DB Configuration Lookup < Data updated every 5 minutes ></title>
<table>
<search>
<query>host="host1.touchpiit.com" source="/apps/bsassian/Mayhem/logs/access_DB.log"| eval headers=split(_raw,";")
| eval a=mvindex(headers,1)
| eval b=mvindex(headers
......
......
......
......
......
</panel>
</row>
</form>
... View more
06-25-2019
03:59 AM
We don't want our end users to be able to see the SPL running behind the reports in the dashboard.
They are clicking on the lens icon and seeing the search and then mess around with it.
Can we make the dashboard just read-only. (no funny business of checking the source code, commands, etc)
... View more
05-21-2019
09:10 AM
@Sukisen1981 - Thanks for the response.
After sorting the values , the 10% isn't ONLY to be removed from the tail end. 10% of the head end also to be removed.
like , 1 2 3 4 5 6 7 8 9 10
Lets say I have above 10 values)for simplicity I am considering 1 through 10). So when we say trimming the 10 % on each end it means, the value 1 from left and 10 from right will be removed. .
Lets move to the part where we understand what values to be replaced in place of "1" and "10".
After trimming 10% on both end , the nearest value of the trimmed number is to be replaced with.
Meaning the new set will be , 2 2 3 4 5 6 7 8 9 9
The average now will be calculated as (2+2+3+4+5+6+7+8+9+9)/10
I hope I didn't confuse you.
... View more
05-21-2019
08:54 AM
I have a lookup table from a csv that looks like this
name exam1 exam2 exam3
john good bad bad
peter bad bad best
ken best bad bad
and the list continues with almost 100 rows.
I want to know whether there is a 'best' under each exam.
So, I am thinking to implement foreach , which should give us a result something like this,
exam1 OK
exam2 NO
exam3 OK
(because for exam1 and exam3 there was atleast someone who performed 'best' but for exam2 no one has 'best'
This is what I tried
| inputlookup exam.csv
| foreach * [eval final = if(<<FIELD>>=="best","OK","NO")]
But I can't make the command work. 😞
... View more
- Tags:
- splunk-enterprise
05-20-2019
07:35 AM
What are the subjects where the BEST count is less than 5 ?
i.e. What are those subjects' names where only 5 or less students perform as BEST.
... View more
05-20-2019
07:19 AM
It is counting the header name too . How do I exclude that?
Also, I have a lot of subjects, more than 50, how can I see them all in one query ? Is it possible..
... View more
05-20-2019
06:19 AM
I have a look up csv file added, which looks like this,
The header contains subject names and student name, and then subsequent rows contain performances for each pupil
MATH ENGLISH NAME SCIENCE
good bad Timmy best
good good John better
better bad Alek good
good bad Priya good
beter best Arun best
The above table means Timmy is 'good' at MATH, 'bad' at ENGLISH and 'best' at SCIENCE.
SImilarly John is 'good' at MATH and ENGLISH and 'bad' at SCIENCE.
etc...
I want to know how many kids are good, bad and best at each subject.
in stats table and if possible in a visualization.
e.g. 3 kids are good at MATH(Timmy, JOHN , Priya)
2 kids are best at SCIENCE (Timmy, Arun)
My query starts like,
| inputlookup marks.csv
| stats ........
... View more
- Tags:
- splunk-enterprise
05-20-2019
02:48 AM
My csv is placed on desktop
So I am using | inputcsv "C:/Users/JM/Desktop/rap.csv"
Splunk is not able to read. It says the csv couldn't be opened for reading.
I tried this before couple of months back with a similar .csv and it had worked. not sure why is it not working this time...unable to figure out why it is unable to read.
... View more
- Tags:
- splunk-enterprise
05-16-2019
05:37 AM
Does the value of 'x' contain the nearest value after dropping 10 % of extreme values on both end ? Which line in the query is confirming that ?
Also , I added | sort 0 x after | rename command as the values are only to be trimmed after they are sorted. Could you please clarify
... View more
05-15-2019
06:25 AM
Not yet . I will test it today and will let you know by tomorrow.
... View more
05-07-2019
11:33 PM
I haven't created any role for them yet. I am still deciding what roles or capabilities will allow them to see the dashboard output but not able to make any query .
... View more