Activity Feed
- Posted Is it possible to perform a conditional y-value axis depending on text input entered? on All Apps and Add-ons. 06-30-2022 11:29 AM
- Posted Is it possible to make a Splunk dashboard Read Accessible for users with the link? on Dashboards & Visualizations. 06-22-2022 07:11 AM
- Posted Is it possible to link multiple dashboards to one dashboard statistics panel? on Splunk ITSI. 06-14-2022 11:24 AM
- Posted Re: Is it possible to rename with "as" function for charted value from a single column? on Splunk ITSI. 06-13-2022 11:26 AM
- Karma Re: Is it possible to rename with "as" function for charted value from a single column? for ITWhisperer. 06-13-2022 11:24 AM
- Karma Re: How to change a specific value of a field in my events to another value in a search? for vcgamesii. 06-10-2022 11:29 AM
- Posted Re: Is it possible to rename with "as" function for charted value from a single column? on Splunk ITSI. 06-10-2022 11:20 AM
- Posted Re: Is it possible to rename with "as" function for charted value from a single column? on Splunk ITSI. 06-10-2022 10:31 AM
- Posted Is it possible to rename with "as" function for charted value from a single column? on Splunk ITSI. 06-10-2022 08:31 AM
- Posted Re: How to string two dropdown tokens to resolve "Search is waiting for input" error on Dashboards & Visualizations. 05-31-2022 06:20 AM
- Posted Re: How to string two dropdown tokens to resolve "Search is waiting for input" error on Dashboards & Visualizations. 05-27-2022 10:43 AM
- Posted Re: How to string two dropdown tokens to resolve "Search is waiting for input" error on Dashboards & Visualizations. 05-27-2022 07:26 AM
- Karma Re: How to string two dropdown tokens to resolve "Search is waiting for input" error for gcusello. 05-27-2022 07:26 AM
- Posted How to string two dropdown tokens to use in where clause? on Dashboards & Visualizations. 05-26-2022 06:03 PM
- Posted Re: How to create dependent drilldown for Year and Month on Dashboards & Visualizations. 05-26-2022 05:46 PM
- Karma Re: How to create dependent drilldown for Year and Month for ITWhisperer. 05-26-2022 01:56 PM
- Posted Re: Is it possible to pass the X-axis value via link target? on Dashboards & Visualizations. 05-26-2022 07:54 AM
- Karma Re: Is it possible to pass the X-axis value via link target? for ITWhisperer. 05-26-2022 07:54 AM
- Posted Re: Is it possible to pass the X-axis value via link target? on Dashboards & Visualizations. 05-25-2022 02:21 PM
- Posted Re: How to create dependent drilldown for Year and Month on Dashboards & Visualizations. 05-25-2022 01:44 PM
Topics I've Started
Subject | Karma | Author | Latest Post |
---|---|---|---|
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
0 |
06-30-2022
11:29 AM
Hi everyone,
Newbie here again.
Is it possible to have query similar to the LIKE function in SQL where MM/DD/YYYY in Splunk to set different MAX VALUE and INTERVAL for the Y-Axis?
Would it also be possible just to use the Month and Year for the condition to take effect so that regardless what Date the user may enter, it would not effect the result?
... View more
Labels
- Labels:
-
dashboard
-
search
-
troubleshooting
06-22-2022
07:11 AM
Hi everyone, Our team is currently looking for a way to make several dashboards be accessible to our business users who may not have a Splunk account. Specifically by giving them a Sharepoint link that will contain the links to each report. Upon checking with the our company's Splunk support team. They mentioned that it would not be possible and we would have to add those users manually via our ticketing system which would cause some delay that we would want to avoid. Just wanted to check if there is be a way to do this within the dashboard to bypass such ruling that they aren't familiar with? Let me know if there are anything you need to clarify. Please and thank you!
... View more
Labels
- Labels:
-
Dashboard Studio
06-14-2022
11:24 AM
Hi everyone, My team is asking if it would be possible to have a single dashboard panel to link to different dashboards to the matching report similar to the "Navigation Menu" since it might make it more user friendly to give public access for that dashboard via a hyperlink. I uploaded the names of the report via a lookup CSV table. Was considering of placing it there but was unsure if that would work and would rather have it as a click on the report kind of option for the business users. See screenshot for reference. Is there a way to do it using XML or HTML? | inputlookup capcaity_report_titlte.csv
... View more
Labels
- Labels:
-
configuration
-
troubleshooting
06-13-2022
11:26 AM
This worked. Never knew you could use tokens like that. Thanks so much for the help again! 😁
... View more
06-10-2022
11:20 AM
I tried that and also this version on a table panel but both instances gave the same "NULL" result. Was wondering if there was a way to code it within the source to condition each of the values to the desired outcome. The only downside would that if someone else works on the code might not be able to figure it out. But I can work that out through documentation if this would be possible. Will continue my search with this kind of a method. index=mainframe-platform sourcetype="mainframe:serviceclass"
MVS_SYSTEM_ID=$lpar$
| eval DATE=strftime(strptime(DATE,"%d%b%Y"),"%Y-%m-%d")
| eval _time=strptime(DATE." ","%Y-%m-%d")
| where _time >= strptime("$from$", "%m/%d/%Y") AND _time <= strptime("$to$", "%m/%d/%Y")
| eval SRVCLASS=$lpar$." - ".SRVCLASS
| chart sum(MIPS_UTIL) over DATE by SRVCLASS
... View more
06-10-2022
10:31 AM
Apologies on that. Will edit the post to make it more clear. I would want either to rename it or add the four (4) alphanumeric characters from the dropdown plus a <space>, < - >, and <space> before the series names. For example, when the user selects D7X0, the output on the right is what the search would produce and the one on the left is my desired outcome: BATPLOW D7X0 - BATPLOW BATTLOW D7X0 - BATTLOW D7X0WGHT D7X0 - D7X0WGHT DDFTMED D7X0 - DDFTMED MQDFLT D7X0 - MQDFLT STCHI D7X0 - STCHI STCLOW D7X0 - STCLOW SYSSTC D7X0 - SYSSTC SYSTEM D7X0 - SYSTEM TSOMED D7X0 - TSOMED OTHER D7X0 - OTHER
... View more
06-10-2022
08:31 AM
Hi Splunk Masters, Currently stomped and couldn't find the solution through the forums. I have to chart the values from this particular column that his 50 different instances that change per different input in the dropdown (kindly refer to the code and screenshots for reference). Currently searching for a way to rename the values in the legend so that I could pass it in a drilldown to another dashboard. Is there a way to do it for the single column? <edit> I would want either to rename it or add the four (4) alphanumeric characters from the dropdown plus a <space>, < - >, and <space> before the series names. For example, when the user selects D7X0, the output on the right is what the search would produce and the one on the left is my desired outcome: BATPLOW D7X0 - BATPLOW BATTLOW D7X0 - BATTLOW D7X0WGHT D7X0 - D7X0WGHT DDFTMED D7X0 - DDFTMED MQDFLT D7X0 - MQDFLT STCHI D7X0 - STCHI STCLOW D7X0 - STCLOW SYSSTC D7X0 - SYSSTC SYSTEM D7X0 - SYSTEM TSOMED D7X0 - TSOMED OTHER D7X0 - OTHER </edit> Thanks <form theme="dark">
<label>CSC/ERSC/PSI_SRVCLASS_Report</label>
<fieldset submitButton="true" autoRun="true">
<input type="dropdown" token="lpar">
<label>Select to View</label>
<choice value="-LPAR-">-LPAR-</choice>
<choice value="D7X0">D7X0</choice>
<choice value="H7X0">H7X0</choice>
<choice value="D1D0">D1D0</choice>
<choice value="DAD0">DAD0</choice>
<choice value="E1D0">E1D0</choice>
<choice value="H1D0">H1D0</choice>
<choice value="WSYS">WSYS</choice>
<choice value="YSYS">YSYS</choice>
<default>-LPAR-</default>
</input>
<input type="text" token="from">
<label>From MM/DD/YYYY</label>
<default>01/01/2022</default>
</input>
<input type="text" token="to">
<label>To MM/DD/YYYY</label>
<default>01/31/2022</default>
</input>
</fieldset>
<row>
<panel>
<title>$lpar$ $from$ $to$</title>
<chart>
<title>Shows the Average of each Service Class</title>
<search>
<query>index=mainframe-platform sourcetype="mainframe:serviceclass"
MVS_SYSTEM_ID=$lpar$
| eval DATE=strftime(strptime(DATE,"%d%b%Y"),"%Y-%m-%d")
| eval _time=strptime(DATE." ","%Y-%m-%d")
| where _time >= strptime("$from$", "%m/%d/%Y") AND _time <= strptime("$to$", "%m/%d/%Y")
| chart avg(MIPS_UTIL) over DATE by SRVCLASS</query>
<earliest>0</earliest>
<latest></latest>
</search>
<option name="charting.axisLabelsX.majorLabelStyle.rotation">45</option>
<option name="charting.axisLabelsY.majorUnit">200</option>
<option name="charting.axisTitleX.text">Dates</option>
<option name="charting.axisY.minimumNumber">0</option>
<option name="charting.axisY2.enabled">0</option>
<option name="charting.chart">column</option>
<option name="charting.chart.overlayFields">D7X0WGHT,H7X0WGHT,D1D0WGHT,DAD0WGHT,E1D0WGHT,H1D0WGHT,WSYSWGHT,YSYSWGHT</option>
<option name="charting.drilldown">none</option>
<option name="charting.legend.placement">top</option>
<option name="height">468</option>
<option name="refresh.display">progressbar</option>
</chart>
</panel>
</row>
</form>
... View more
05-31-2022
06:20 AM
Hi @gcusello, Sadly its just a different version of the same error. Really tricky one this one. Will give you an update if I find a different solution. Thanks for the ideas and teaching me the eval with date 😀
... View more
05-27-2022
10:43 AM
The error changed to "Could not create search on this". Its seems that its has to be concatenate prior to search.
... View more
05-27-2022
07:26 AM
Thanks for pointing that out. Was not able to change the Time Range back to Timepicker when I tried using the Time Input before. Updated the post, the error I am receiving now is "Error in 'where' command. The expression is malformed. Expected )."
... View more
05-26-2022
06:03 PM
Updated the post since the error changed into "Error in 'where' command. The expression is malformed. Expected)"
My aim is to use two separate stings of tokens in my search to pass the following:
1) "Start of the Month" + "Year" ($month1$ $year$)
2) "End of the Month" + "Year" ($month2$ $year$)
I was trying to combine the strings using <eval> within the <change> step but had no luck on finding a guide to implement it properly.
Would it be better just to add the <eval> within the search or would it be better to do it during the change to avoid any complications?
<form theme="dark">
<label>CSC/ERSC/PSI PAGING Report</label>
<fieldset submitButton="true" autoRun="true">
<input type="dropdown" token="lpar">
<label>Select to View</label>
<choice value="----">----</choice>
<choice value="D7X0">D7X0</choice>
<choice value="H7X0">H7X0</choice>
<choice value="D1D0">D1D0</choice>
<choice value="DAD0">DAD0</choice>
<choice value="E1D0">E1D0</choice>
<choice value="H1D0">H1D0</choice>
<choice value="WSYS">WSYS</choice>
<choice value="YSYS">YSYS</choice>
<default>----</default>
</input>
<input type="dropdown" token="year">
<label>Select Year</label>
<choice value="----">----</choice>
<choice value="2022">2022</choice>
<default>----</default>
</input>
<input type="dropdown" token="month1">
<label>Select Month</label>
<choice value="****">****</choice>
<choice value="01/01/">January</choice>
<choice value="02/01/">February</choice>
<choice value="03/01/">March</choice>
<choice value="04/01/">April</choice>
<choice value="05/01/">May</choice>
<choice value="06/01/">June</choice>
<choice value="07/01/">July</choice>
<choice value="08/01/">August</choice>
<choice value="09/01/">September</choice>
<choice value="10/01/">Ocotber</choice>
<choice value="11/01/">November</choice>
<choice value="12/01/">December</choice>
<default>****</default>
<change>
<condition label="****">
<set token="month2">----</set>
</condition>
<condition label="January">
<set token="month2">01/31/</set>
</condition>
<condition label="February">
<set token="month2">02/29/</set>
</condition>
<condition label="March">
<set token="month2">03/31/</set>
</condition>
<condition label="April">
<set token="month2">04/30/</set>
</condition>
<condition label="May">
<set token="month2">05/31/</set>
</condition>
<condition label="June">
<set token="month2">06/30/</set>
</condition>
<condition label="July">
<set token="month2">07/31/</set>
</condition>
<condition label="August">
<set token="month2">08/31/</set>
</condition>
<condition label="September">
<set token="month2">09/30/</set>
</condition>
<condition label="October">
<set token="month2">10/31/</set>
</condition>
<condition label="November">
<set token="month2">11/30/</set>
</condition>
<condition label="December">
<set token="month2">12/31/</set>
</condition>
</change>
</input>
</fieldset>
<row>
<panel>
<chart>
<search>
<query>index=mainframe-platform sourcetype="mainframe:mpage"
MVS_SYSTEM_ID=$lpar$
| eval DATE=strftime(strptime(DATE,"%d%b%Y"),"%Y-%m-%d")
| eval _time=strptime(DATE." ","%Y-%m-%d")
| where _time >= strptime("$month1$""$year$", "%m/%d/%Y") AND _time <= strptime("$month2$""$year$", "%m/%d/%Y")
| chart sum(VIO_PAGING_SEC) as "$lpar$ Sum of VIO_PAGING_SEC" sum(SYSTEM_PAGEFAULTS_SEC) as "$lpar$ SYSTEM_PAGEFAULTS_SEC" sum(SWAP_PAGIN_SEC) as "$lpar$ SWAP_PAGIN_SEC" sum(LOCAL_PAGEFAULTS_SEC) as "$lpar$ LOCAL_PAGEFAULTS_SEC" over _time</query>
<earliest>0</earliest>
<latest></latest>
</search>
<option name="charting.chart">column</option>
<option name="charting.drilldown">none</option>
</chart>
</panel>
</row>
</form>
Would appreciate the help.
... View more
Labels
- Labels:
-
chart
-
panel
-
simple XML
-
token
05-26-2022
05:46 PM
I was able to create almost something similar but it causes "Search is waiting for input" notification. Might just start another thread for this but below is my XML code. <form theme="dark">
<label>CSC/ERSC/PSI PAGING Report</label>
<fieldset submitButton="true" autoRun="true">
<input type="dropdown" token="lpar">
<label>Select to View</label>
<choice value="----">----</choice>
<choice value="D7X0">D7X0</choice>
<choice value="H7X0">H7X0</choice>
<choice value="D1D0">D1D0</choice>
<choice value="DAD0">DAD0</choice>
<choice value="E1D0">E1D0</choice>
<choice value="H1D0">H1D0</choice>
<choice value="WSYS">WSYS</choice>
<choice value="YSYS">YSYS</choice>
<default>----</default>
</input>
<input type="dropdown" token="year">
<label>Select Year</label>
<choice value="----">----</choice>
<choice value="2022">2022</choice>
<default>----</default>
</input>
<input type="dropdown" token="month1">
<label>Select Month</label>
<choice value="****">****</choice>
<choice value="01/01/">January</choice>
<choice value="02/01/">February</choice>
<choice value="03/01/">March</choice>
<choice value="04/01/">April</choice>
<choice value="05/01/">May</choice>
<choice value="06/01/">June</choice>
<choice value="07/01/">July</choice>
<choice value="08/01/">August</choice>
<choice value="09/01/">September</choice>
<choice value="10/01/">Ocotber</choice>
<choice value="11/01/">November</choice>
<choice value="12/01/">December</choice>
<default>****</default>
<change>
<condition label="****">
<set token="month2">----</set>
</condition>
<condition label="January">
<set token="month2">01/31/</set>
</condition>
<condition label="February">
<set token="month2">02/29/</set>
</condition>
<condition label="March">
<set token="month2">03/31/</set>
</condition>
<condition label="April">
<set token="month2">04/30/</set>
</condition>
<condition label="May">
<set token="month2">05/31/</set>
</condition>
<condition label="June">
<set token="month2">06/30/</set>
</condition>
<condition label="July">
<set token="month2">07/31/</set>
</condition>
<condition label="August">
<set token="month2">08/31/</set>
</condition>
<condition label="September">
<set token="month2">09/30/</set>
</condition>
<condition label="October">
<set token="month2">10/31/</set>
</condition>
<condition label="November">
<set token="month2">11/30/</set>
</condition>
<condition label="December">
<set token="month2">12/31/</set>
</condition>
</change>
</input>
... View more
05-26-2022
07:54 AM
Thank you for this, it was a huge help. Will try using the same method for past and future projects.
... View more
05-25-2022
02:21 PM
Did I understand and place this correctly? Still receiving the entire string. <drilldown>
<eval token="shortened">substr($click.name2$,1,4)</eval>
<link target="_blank">/app/mainframe-platform/csierscpsi_paging_individual_report?DATE=$click.value$&MVS_SYSTEM_ID=$click.name2$</link>
</drilldown>
... View more
05-25-2022
01:44 PM
This would be good if I could trigger this to when an item has not been clicked on the dropdown input, however I would still need the user's input to change the dates. Was thinking of a way to make a dropdown containing each month of the year that would be used in the search but dependent on the year selected on another dropdown to make it functional for last years report, this years, and upcoming reports in the future.
... View more
05-25-2022
11:00 AM
Thanks this worked. Just an additional question though, is there a way to truncate $click.name2$? I am trying to pass this value however I will only bee needing the first 4 characters from the left. Attaching a screenshot of what my display value received.
... View more
05-24-2022
03:12 PM
Splunk newbie here again,
Currently search for a way to create a dependent drilldown where the Year would be the basis the independent and the Month would be the dependent since the reports that would be generated would need to look back from the previous, current, and possibly future reports.
My temporary fix is using the Input Panel to pass it like in a string format. However the team I am creating this for was searching for a way to avoid the users from typing in the input. Attaching a screenshot of the code along with the code at the moment.
<form theme="dark">
<label>CSC/ERSC/PSI PAGING Report</label>
<fieldset submitButton="true" autoRun="true">
<input type="dropdown" token="lpar">
<label>Select to View</label>
<choice value="----">----</choice>
<choice value="D7X0">D7X0</choice>
<choice value="H7X0">H7X0</choice>
<choice value="D1D0">D1D0</choice>
<choice value="DAD0">DAD0</choice>
<choice value="E1D0">E1D0</choice>
<choice value="H1D0">H1D0</choice>
<choice value="WSYS">WSYS</choice>
<choice value="YSYS">YSYS</choice>
<default>----</default>
</input>
<input type="dropdown" token=""y"">
<label>Select Year</label>
<choice value="2022">2022</choice>
<default>2022</default>
</input>
<input type="dropdown" token="month">
<label>Select Month</label>
<choice value="earliest=@y latest=@y+1mon">January</choice>
<choice value="earliest=@y+1mon latest=@y+2mon">February</choice>
<choice value="earliest=@y+2mon latest=@y+3mon">March</choice>
<choice value="earliest=@y+3mon latest=@y+4mon">April</choice>
<choice value="earliest=@y+4mon latest=@y+5mon">May</choice>
<choice value="earliest=@y+5mon latest=@y+6mon">June</choice>
<choice value="earliest=@y+6mon latest=@y+7mon">July</choice>
<choice value="earliest=@y+7mon latest=@y+8mon">August</choice>
<choice value="earliest=@y+8mon latest=@y+9mon">September</choice>
<choice value="earliest=@y+9mon latest=@y+10mon">Ocotber</choice>
<choice value="earliest=@y+10mon latest=@y+11mon">November</choice>
<choice value="earliest=@y+11mon latest=@y+12mon">December</choice>
</input>
<input type="text" token="from">
<label>From MM/DD/YYYY</label>
<default>01/01/2022</default>
</input>
<input type="text" token="to">
<label>To MM/DD/YYYY</label>
<default>01/31/2022</default>
</input>
</fieldset>
<row>
<panel>
<title>$lpar$ Date Panel</title>
<chart>
<title>From & To Input: $from$ - $to$</title>
<search>
<query>index=mainframe-platform sourcetype="mainframe:mpage"
MVS_SYSTEM_ID=$lpar$
| eval DATE=strftime(strptime(DATE,"%d%b%Y"),"%Y-%m-%d")
| eval _time=strptime(DATE." ","%Y-%m-%d")
| where _time >= strptime("$from$", "%m/%d/%Y") AND _time <= strptime("$to$", "%m/%d/%Y")
| eval epochtime=strptime(TIME, "%H:%M:%S")| eval desired_time=strftime(epochtime, "%H:%M:%S")
| chart sum(VIO_PAGING_SEC) as "$lpar$ Sum of VIO_PAGING_SEC" sum(SYSTEM_PAGEFAULTS_SEC) as "$lpar$ SYSTEM_PAGEFAULTS_SEC" sum(SWAP_PAGIN_SEC) as "$lpar$ SWAP_PAGIN_SEC" sum(LOCAL_PAGEFAULTS_SEC) as "$lpar$ LOCAL_PAGEFAULTS_SEC" over _time</query>
<earliest>0</earliest>
<latest></latest>
</search>
<option name="charting.axisLabelsX.majorLabelStyle.rotation">45</option>
<option name="charting.axisTitleX.text">Date of Occurrence</option>
<option name="charting.chart">column</option>
<option name="charting.drilldown">none</option>
<option name="charting.legend.placement">bottom</option>
<option name="height">789</option>
<option name="refresh.display">progressbar</option>
<drilldown>
<link target="_blank">/app/mainframe-platform/csierscpsi_paging_individual_report?_time=$click.name2$</link>
</drilldown>
</chart>
</panel>
</row>
<row>
<panel>
<chart>
<title>Select a Month using $month$</title>
<search>
<query>index=mainframe-platform sourcetype="mainframe:mpage"
MVS_SYSTEM_ID=$lpar$
| eval DATE=strftime(strptime(DATE,"%d%b%Y"),"%Y-%m-%d")
| eval _time=strptime(DATE." ","%Y-%m-%d")
| where $month$
| chart sum(VIO_PAGING_SEC) as "$lpar$ Sum of VIO_PAGING_SEC" sum(SYSTEM_PAGEFAULTS_SEC) as "$lpar$ SYSTEM_PAGEFAULTS_SEC" sum(SWAP_PAGIN_SEC) as "$lpar$ SWAP_PAGIN_SEC" sum(LOCAL_PAGEFAULTS_SEC) as "$lpar$ LOCAL_PAGEFAULTS_SEC" over _time</query>
<earliest>$range.earliest$</earliest>
<latest>$range.latest$</latest>
</search>
<option name="charting.chart">column</option>
<option name="charting.drilldown">none</option>
<option name="height">789</option>
<option name="refresh.display">progressbar</option>
</chart>
</panel>
</row>
</form>
... View more
Labels
- Labels:
-
chart
-
drilldown
-
panel
-
simple XML
-
timechart
05-24-2022
02:52 PM
Hi again,
Seeking your advise on the topic above. The link target method was suggested to me as a work around on my concern on the standard Splunk chart limitations. However I am unable to find a way to pass link target where in the target is the X-Axis value where in this instance is the specific dates.
For reference, attaching the screenshot of the chart along with the entire XML code.
I have already considered making a separate panel where the dates would be generated but I was wondering if this type pf Link Target would be possible so that I could apply it with my other reports.
<form theme="dark">
<label>CSC/ERSC/PSI PAGING Report</label>
<fieldset submitButton="true" autoRun="false">
<input type="dropdown" token="lpar">
<label>Select to View</label>
<choice value="----">----</choice>
<choice value="D7X0">D7X0</choice>
<choice value="H7X0">H7X0</choice>
<choice value="D1D0">D1D0</choice>
<choice value="DAD0">DAD0</choice>
<choice value="E1D0">E1D0</choice>
<choice value="H1D0">H1D0</choice>
<choice value="WSYS">WSYS</choice>
<choice value="YSYS">YSYS</choice>
<default>----</default>
</input>
<input type="text" token="from">
<label>From MM/DD/YYYY</label>
<default>01/01/2022</default>
</input>
<input type="text" token="to">
<label>To MM/DD/YYYY</label>
<default>01/31/2022</default>
</input>
</fieldset>
<row>
<panel>
<title>$lpar$ Date Panel</title>
<chart>
<title>From & To Input: $from$ - $to$</title>
<search>
<query>index=mainframe-platform sourcetype="mainframe:mpage"
MVS_SYSTEM_ID=$lpar$
| eval DATE=strftime(strptime(DATE,"%d%b%Y"),"%Y-%m-%d")
| eval _time=strptime(DATE." ","%Y-%m-%d")
| where _time >= strptime("$from$", "%m/%d/%Y") AND _time <= strptime("$to$", "%m/%d/%Y")
| eval epochtime=strptime(TIME, "%H:%M:%S")| eval desired_time=strftime(epochtime, "%H:%M:%S")
| chart sum(VIO_PAGING_SEC) as "$lpar$ Sum of VIO_PAGING_SEC" sum(SYSTEM_PAGEFAULTS_SEC) as "$lpar$ SYSTEM_PAGEFAULTS_SEC" sum(SWAP_PAGIN_SEC) as "$lpar$ SWAP_PAGIN_SEC" sum(LOCAL_PAGEFAULTS_SEC) as "$lpar$ LOCAL_PAGEFAULTS_SEC" over _time</query>
<earliest>0</earliest>
<latest></latest>
</search>
<option name="charting.axisLabelsX.majorLabelStyle.rotation">45</option>
<option name="charting.axisTitleX.text">Date of Occurrence</option>
<option name="charting.chart">column</option>
<option name="charting.chart.overlayFields">"D1D0 Sum of VIO_PAGING_SEC","D1D0 SYSTEM_PAGEFAULTS_SEC","D1D0 SWAP_PAGIN_SEC",D1D0_LOCAL_PAGEFAULTS_SEC</option>
<option name="charting.drilldown">none</option>
<option name="charting.legend.placement">bottom</option>
<option name="height">789</option>
<option name="refresh.display">progressbar</option>
<drilldown>
<link target="_blank">/app/mainframe-platform/csierscpsi_paging_individual_report?_time=$click.name2$</link>
</drilldown>
</chart>
</panel>
</row>
</form>
... View more
Labels
- Labels:
-
chart
-
drilldown
-
panel
-
simple XML
-
token
05-19-2022
10:00 AM
Is there a way to implement not using charts with the default Splunk dashboard capabilities?
... View more
05-19-2022
08:07 AM
Hey everyone,
Currently making a report for my team that requires to have two X-Axis values based on the excel sheet shared with me. Below are some screenshots of the desired output, my progress so far, and search query based on what I have learned so far.
The goal:
What I am familiar with using chart in the search:
My search string
| eval DATE=strftime(strptime(DATE,"%d%b%Y"),"%Y-%m-%d")
| eval _time=strptime(DATE." ","%Y-%m-%d")
| where _time >= strptime("$from$", "%m/%d/%Y") AND _time <= strptime("$to$", "%m/%d/%Y")
| eval epochtime=strptime(TIME, "%H:%M:%S")| eval desired_time=strftime(epochtime, "%I:%M:%S %p")
| chart sum(VIO_PAGING_SEC) as "$lpar$ Sum of VIO_PAGING_SEC" sum(SYSTEM_PAGEFAULTS_SEC) as "$lpar$ SYSTEM_PAGEFAULTS_SEC" sum(SWAP_PAGIN_SEC) as "$lpar$ SWAP_PAGIN_SEC" sum(LOCAL_PAGEFAULTS_SEC) as "$lpar$ LOCAL_PAGEFAULTS_SEC" over desired_time
... View more
- Tags:
- chart
- splunk-search
05-19-2022
07:53 AM
No worries. Was able to make it work. This was a huge throw back to my high school days learning HTML basics again. Thanks for the help.
... View more
05-16-2022
07:05 AM
Will check that out somehow since the link below was not working. If you could resend it that would be a huge help. Thanks
... View more
05-13-2022
12:14 PM
Hi splunkers, I am currently searching for a way to make the description in the dashboard in bullet form to make it more readable for the users. Is there a way to do this in the default version of version 8.1.3? Thank you <description>1) Select one from the "Select to View" dropdown button.
2) Input the desired month to be generated by placing what date to start from in the "From MM/DD/YYYY" input and the end period in the "To MM/DD/YYYY" input similar to the default values
3) Click the "Submit" button to generate the report (Note: Submit button must be used whenever selecting another option from "Select to View" dropdown or when a new Date Range is placed in the text input)</description>
... View more
Labels
- Labels:
-
panel
05-13-2022
07:29 AM
Was able to make my event handler work after watching some Youtube videos about it. Thanks for the suggestion
... View more
05-11-2022
12:55 PM
<condition label="D7X0">
<set token="max">118784</set>
</condition>
<condition label="H7X0">
<set token="max">106496</set>
</condition>
<condition label="D1D0">
<set token="max">67584</set>
</condition>
<condition label="DAD0">
<set token="max">48128</set>
</condition>
<condition label="E1D0">
<set token="max">65536</set>
</condition>
<condition label="H1D0">
<set token="max">86016</set>
</condition>
<condition label="WSYS">
<set token="max">32768</set>
</condition>
<condition label="XSYS">
<set token="max">32768</set> I accidentally removed this from the code above. It is supposed to go after the first input.
... View more