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 |
04-07-2021
08:43 AM
I am a developer and I have crated a splunk dashboard using simpleXML. The entire code must be saved in the backened in some .conf file is what I believe. Can anyone guide me where can I find it / the folder path ( like opt/etc/user/ ......??????? ) On the same question, I too would like to know the location where my Scheduled Reports, Alerts, Macros etc..are stored. Thank you.
... View more
11-18-2020
04:11 AM
I have search query that looked like this, index = aries sourcetype = onezone | fields aaa baa | stats values(aaa) as aaa | table aaa append [ search index = leo sourcetype =twofone | fields ccc | stats ccc ] | stats value(aaa) as sd , values(ccc) as cc Now the optimizedQuery option of Splunk changed the "append" command in the search and replaced it with to "[ | " search (index = leo sourcetype=twofone etc..etc...."..... And my output doesn't change. Both version has same output. My question is, in the world of subsearches is using "append" the same as using " [ | search (index = ....." Is using ""[ | "" better in terms of performnce than using "append " ?
... View more
Labels
- Labels:
-
using Splunk Enterprise
10-08-2020
04:11 AM
my search ... | stats values(something) as nothing | outputlookup gemini I wish my query output to be saved in this outlook . But when I run the above I get error "The Lookup table gemini is invalid". I think it is asking for lookup definition .. But How do I provide the definition ..when the lookup file is the output of my query ?
... View more
Labels
- Labels:
-
using Splunk Enterprise
09-24-2020
09:32 AM
Thanks @isoutamo But my problem is if I use stats then that value isn't get dynamically passed to the macro. search index = index_name source = source_name | fields + bio, _time | stats earliest_time(_time) as eTime latest_time(_time) as lTime | eval Proj_Name = "my big project" | `my_Macro(Proj_name, eTime, lTime)` |table proj_value , proj_date In the above case the macro doesn't get invoked. However if I change something like below then the macro works and I get the desired result. search index = index_name source = source_name | fields + bio, _time | eval eTime=6735475120.999 |eval lTime=6542213344.976 | eval Proj_Name = "my big project" | `my_Macro(Proj_name, eTime, lTime)` |table proj_value , proj_date It works with eval statement But I cannot hard-code the earliest and latest time. It has to to be dynamic based on the latest_event time and earliest event time. In the macro eTime and lTime values gets passed as earliest and latest values of a dashboard URL, and the Macro outputs that URL along with few other values.
... View more
09-24-2020
08:58 AM
@richgalloway It gives me search_starttime as 0 and search_endtime as+infinity. 😞 Sorry , for the confusion. But what I meant is, how do I get the _time value for the earliest event and the _time value of my latest event of my search result.
... View more
09-24-2020
01:10 AM
How do I get the job-execution start time and job execution endtime of my query as output of the query. index = some_index source = somesoure | some_logic added here | eval search_starttime = $job.earliestTime$ | eval search_endtime = $job.latestTime$ | table some_logic_output search_starttime search_endtime I am seeing no result for the search_starttime and search_endtime column in my table. Any help ? What I mean here is, how do I get the _time value for the earliest event and the _time value of my latest event of my search resultset ?
... View more
- Tags:
- time token
Labels
- Labels:
-
fields
09-09-2020
07:50 AM
Thanks @rrovers Would this work if I have 4 fields . example :- Vehicle Grocery Tax Education 120 23 5 45 and to make it Vehicle 120 Grocery 23 Tax 5 Education 45 | untable Vehicle Grocery Tax Education | XYseries Vehice Grocery TAx Education like this ?
... View more
09-09-2020
06:31 AM
My Table looks like this VF_Price Huyndai_Price Jaguar_Price 345 412 542 I want it to look like the following VF_Price 345 Huyndai_Price 412 Jaguar_Price 542 I need to transpose the table without using transpose command. I cannot use transpose command, 'cos I am using some invisible _<fields> that I am passing to my alert, those invisible field becomes visible and show in my transposed table, if I use 'transpose' command. Hence I am trying to figure out , how can I achieve this without using 'transpose'.
... View more
Labels
- Labels:
-
table
09-01-2020
07:03 AM
Thanks for trying it out. I have this huge json field whose field length is easily couple thousands. Now while using stats on it, like stats values(myHugeJsonField) by something, I see error like 'stats' command: limit for values of field 'myHugeJsonField' reached. Some values may have been truncated or ignored. Now when I use spath and break it down and then use stats values(with individual key value pair) I don't see the above 'stats' command error. IS it the 'json' format that is creating problem ?
... View more
09-01-2020
06:36 AM
What is the character limit of a field allowed in splunk? If we use a longer names would the values get truncated or skipped while using in stats ? Here the myfield's value contains 1000+ characters . eval myfield = "aksjlfhasdfjasdfj/afkhsfkjas39@#$%^&*()HDKLJLO8849889slfkssfdfsdfsfsdfs........." Any advice ?
... View more
Labels
- Labels:
-
fields
08-28-2020
04:11 AM
Thanks @niketn for your response. I do have an extracted field called splunk_server that tells me the server name envrionment details. I was hoping to use that. OR, if I can leverage this command <view source="all" match="error"/> and able to use <view source=" a specific source name" ........ instead of <view source="all" .......
... View more
08-27-2020
08:52 AM
I have added a new option in the navigation menu , by updating the index.html in the setting->User Interface -> Navigation Menu. and it shows as expected. myDASHBOARD. However, I want to add a condition so that the new navigation menu should show up only if the condition is met. I am unsure if I am writing it correctly. <nav search_view="search" color="#65A637">
<view name="search" default='true' />
<view name="data_models" />
<view name="reports" />
<view name="alerts" />
<view name="dashboards" />
<collection label="myDASHBOARD" /> <condition match = 'splunk_serv_name', wekwyeiyu134> <view name="myDASHBOARD_1 /> <view name="myDASHBOARD_2 /> </condition> </collection> I believe I am using the condition statement wrong. Any help ?
... View more
Labels
- Labels:
-
panel
08-27-2020
04:59 AM
Hello @jethrop May I request you an example of this. (a pseudo code perhaps) Say if I have the value of a field "X" = "Prod" then only show me the menu dashboard , else ignore.
... View more
08-27-2020
04:56 AM
Hi @whrg - Thanks, I looked into it. It helps One question though, -> Lets say, I implemented it, and while clicking the "dashboard" in the main menu a drop-down comes up with list of other dashboards. Can I restrict the view of these dashboards based on some condition? (My condition is, if field "field_4" has value "show_dashboard_prod" then only the dashboard drop down should come or become visible). FYI "field_4" is something that is always extracted automatically during event indexing itself. so this field will always be there? I just want to be able to use the value of this field as a condition while populating the menu-dashboard. Thank you.
... View more
- Tags:
- menu
08-14-2020
06:31 AM
@richgalloway If I change field="price" to field="car" , then it is changing the colour of the "car" field , not the "price" field. What I am looking is to change the colour of "price" depending on the values present in "car".
... View more
08-14-2020
06:28 AM
Thanks @niketn . I have to use the simpleXML way, However I am a bit confused with the solution and I could use some help in understanding. The solution is becoming something like this <format type="color" field="price">
<colorPalette type="map">{"2999":#D93F3C,"4999":#6DB7C6}</colorPalette>
</format> then again it is looking at the "price" field for determining the colour of "price" cell. It ain't checking the field "car" . Based on field "car" it is supposed to change the "price" colour. Sorry If I misunderstood the simpleXML solution.
... View more
08-14-2020
05:23 AM
My query generates a table with two columns . | index = somethnig | table car price car price yegalo 2999 printek 3444 altox 5433 ylome 3222 etc.. I want to color the column price as red or green depending on the car name. If the car name is yegalo or ylome then the respective rows i.e. 2999 or 3222 should be red , others should be green. I am trying the following in the simpleXML <format type="color" field="price">
<colorPalette type="expression">if(like(value,"%y"), "#00F000", "#F00000")</colorPalette>
</format> How ever the underlined if condition is checking the condition in "price" column instead of "car" column. I tried if(like($result.car,"%y"), But it won't work.
... View more
Labels
- Labels:
-
simple XML
05-29-2020
08:02 AM
I have a bunch of dashboards created. I would like to create an Overview or Menu type dashboard. Basically this dashboard should show a menu of other dashboard's names. And once the user decides which one they wanna visit they click on the name and it redirects them to that dashboard. Is this possible to do in Splunk?
... View more
05-19-2020
08:50 AM
Thank you. it helped.
I actually have more than 2 columns ... and Is it possible to configure so that if I click on that row (on any cell I choose), it would redirect me to the Address value ?
Currently I have to click on "Address" column's cell to be able to re-direct to the page.
... View more
05-19-2020
08:19 AM
In my dashboard, I have a tabular representation of a panel that shows some extracted value of the events in columns such as _time, address. Example : _time Address 03:34 https://www.rediff.com 03:45 https://www.rediff.com 03:47 https://www.yahoo.com
I enabled the drilldown option in the XLM editor so that when I click on row 1 it should redirect and open www.rediff.com etc..
I did this, but it won't work
<drilldown>
<link>$row.address$</link>
</drilldown>
... View more
- Tags:
- splunk-enterprise
Labels
- Labels:
-
drilldown
-
simple XML
04-09-2020
04:44 AM
Team A doesn't use the data that Team B wants. Team A has set up their UF to get data from webserver that are different than Team B. The data that Team B's splunk instnce want is present in Team A's webservers, and they are thinking if they can get it using Team A's splunk UF that is already installed there.
... View more
04-09-2020
03:49 AM
If any one could help me clarifying these ...that would help.
UniversalForwarder can send data at a time to "One" indexer only ? A UF cannot be configured to send data to multiple indexes in the same splunk instance. Is my understanding correct?
If I'm wrong about question1, say I have two splunk instances (two different teams A & B using their own splunk, no relation at all). However Team B wants some data from Team A. Team B is not allowed to install their forwarders in Team A's web servers. Team A's webservers have their own UF installed of their own Splunk Instance . Is there a way to send the data using Team A's UF's into Team B's splunk index ?
... View more
- Tags:
- splunk-enterprise
Labels
- Labels:
-
universal forwarder
04-06-2020
10:14 AM
I am writing a query which is going to a scheduled report. I have 3 servers/hosts (serv1, serv2, serv3) whose average response time i am calculating like this,
timechart span=1d eval(round(avg(req_time_seconds),2)) as avgresponse_time by host
I am looking for an output that should do a comparison of serv1 with other two and give me a result like below,
Serv1's avg_resp_time is 20 % higher than Serv2
Serv1's avg_resp_time is 10 % higher than Serv3
something like this.. I don't want an absolute value but a percent value and how much it is higher than Serv1.
... View more
04-03-2020
08:29 AM
I'm not getting the expected result. I am not getting the subtracted time.
index="bayseian" source="/apps/runner/mahem/logs/sachin.out" | rex field=_raw "(?ms)^(?P<boot_end>\\d+\\-\\w+\\-\\d+\\s+\\d+:\\d+)(?:[^ \\n]* ){7}(?P<boot_time>\\d+)" offset_field=_extracted_fields_bounds
| eval serv_time = boot_time
| eval epoch_time = _time
| eval human_epoch_time = strftime(epoch_time,"%y-%m-%d %H:%M:%S.%N")
| eval sub_time = epoch_time - (boot_time/1000)
| eval human_time = strftime(sub_time,"%y-%m-%d %H:%M:%S.%N")
| eval sub_time = strftime(sub_time,"%y-%m-%d %H:%M:%S.%N")
| table human_time sub_time
... View more
04-03-2020
06:27 AM
I have a field serv_time = 44432 in miliseconds.
and the default field _time.
I want to be able to subtract _time - serv_time (_time minus - serv-time)
and get the result in a human readable format ?
... View more
- Tags:
- splunk-enterprise
Labels
- Labels:
-
eval