All Posts

Find Answers
Ask questions. Get answers. Find technical product solutions from passionate members of the Splunk community.

All Posts

Hi, I'm trying to put together some search queries for some common anomaly detection. I've been trying to find ones for these issues and I seem to come up with nothing.    Some common ones thoug... See more...
Hi, I'm trying to put together some search queries for some common anomaly detection. I've been trying to find ones for these issues and I seem to come up with nothing.    Some common ones though would be: Drastic change in events per second Drastic change in size of events Blocked outputs Change of health of inputs? Dropped events CPU percentage use that is REALLY high (percentage?)    
I'm working with a custom TA, AlertAction_SFTP, that has the following .conf.spec file.   [my_sftp_alert_action] param.sftp_server = <string> param.sftp_user = <string> param.sftp_rfile = <string> ... See more...
I'm working with a custom TA, AlertAction_SFTP, that has the following .conf.spec file.   [my_sftp_alert_action] param.sftp_server = <string> param.sftp_user = <string> param.sftp_rfile = <string> param.sftp_key = <string> param.ssh_key_dir = <string> param.sftp_password = <string>   When I try to use $date$ in the file name, filename-$date$, I get "Remote path is invalid."  I've tried multiple ways of doing this including adding date to my search   index=vuln sourcetype="qualys:hostDetection" signature="SMB Version 1 Enabled" TAGS="*Server*" earliest=-1d@d latest=@d | eval date=strftime(relative_time(now(), "-1d@d"), "%Y-%m-%d") | table date, *   I've tried $results.date$, $date$, and a couple of other things.  Is there some reason that the rfile path must not use a Spunk variable? TIA Joe
Try something like this | metasearch index=linux | timechart count by host useother=f | untable _time host count | where count=0
Do you happen to know if Cisco Meraki syslog, especially Flows and URLs have bytes in and bytes out? We're logging Meraki and there's no field whatsoever for bytes. Is it something that can be config... See more...
Do you happen to know if Cisco Meraki syslog, especially Flows and URLs have bytes in and bytes out? We're logging Meraki and there's no field whatsoever for bytes. Is it something that can be configured from Meraki logger console? Or the actual solution itself don't record that?
Hello -  I am trying to script the installation for the Mac Splunk Universal Forwarder package.  The package is a disk image (.dmg). I understand that we can mount the image using hidutil and a... See more...
Hello -  I am trying to script the installation for the Mac Splunk Universal Forwarder package.  The package is a disk image (.dmg). I understand that we can mount the image using hidutil and access the volume to find the .pkg file.  The issue comes from where we attempt to run installer -pkg volume/splunkuf.pgk -target /Applications/SplunkUf/ the end user is prompted to answer dialog boxes, which we do not want to occur.   Is there a switch to use to install the pkg file silently? TIA JH
Hello, I am trying to find the dates  when the host stopped sending logs to splunk in the last 6 months.I have used the below search but can only find the earliest and latest indexed time. Just ... See more...
Hello, I am trying to find the dates  when the host stopped sending logs to splunk in the last 6 months.I have used the below search but can only find the earliest and latest indexed time. Just wanted to know the dates as well when the host stopped sending logs. | tstats count as totalcount earliest(_time) as firstTime latest(_time) as lastTime where index=linux host=xyz by host | fieldformat firstTime=strftime(firstTime,"%Y-%m-%d %H:%M:%S") | fieldformat lastTime=strftime(lastTime,"%Y-%m-%d %H:%M:%S") Thanks
Not really.  You can get a list of use cases with these two queries, but you'll have to add your own filters based on your knowledge of the data.  For instance, some VPN use cases may not contain the... See more...
Not really.  You can get a list of use cases with these two queries, but you'll have to add your own filters based on your knowledge of the data.  For instance, some VPN use cases may not contain the string "vpn". | rest /servicesNS/-/-/saved/searches | rest /servicesNS/-/-/data/ui/views
We will get back to you with more details as the issue is being currently investigated .
Is there any search or shortcut to list out all the VPN usecases in my environment.
Even I am looking for an answer to this question. I tried with sendmail format=html as well but did not work.
Found the solution the HTML styling for the link list input being placed in the fieldset is what caused the  submit button to move down. Moving the styling into a random search panel allowed the subm... See more...
Found the solution the HTML styling for the link list input being placed in the fieldset is what caused the  submit button to move down. Moving the styling into a random search panel allowed the submit button to line back up. <form theme="dark"> <label>Clear Filters</label> <fieldset submitButton="true"> <input type="multiselect" token="Choice"> <label>Choices</label> <choice value="*">All</choice> <choice value="Choice 1">Choice 1</choice> <choice value="Choice 2">Choice 2</choice> <choice value="Choice 3">Choice 3</choice> <default>*</default> <initialValue>*</initialValue> </input> <input type="link" token="Clearer" searchWhenChanged="true" id="list"> <label></label> <choice value="Clear">Clear Filters</choice> <change> <condition value="Clear"> <unset token="form.Choice"></unset> <unset token="form.Clearer"></unset> </condition> </change> </input> </fieldset> <row> <panel> <single> <search> <query>| makeresults | eval Message="Thanks for the help!" | table Message</query> <earliest>-24h@h</earliest> <latest>now</latest> </search> <option name="drilldown">none</option> </single> <html> <style> #list button{ color: white; background: green; width:100%; width: 130px !important; display: inline-block; } </style> </html> </panel> </row> </form>
That's a question only you and your coworkers can answer.  Review your VPN use cases and the fields they use.  Anything else, in theory, can be eliminated.  Of course, future use cases may need an el... See more...
That's a question only you and your coworkers can answer.  Review your VPN use cases and the fields they use.  Anything else, in theory, can be eliminated.  Of course, future use cases may need an eliminated field so be prepared to add them back some day.
That's a challenge, because machines without a Splunk forwarder installed will not be reporting anything to Splunk.  You would need to have a list of all machines then subtract those that have a forw... See more...
That's a challenge, because machines without a Splunk forwarder installed will not be reporting anything to Splunk.  You would need to have a list of all machines then subtract those that have a forwarder installed (which Splunk can provide) to get the list of machines missing a forwarder.
Apologies, to find host without Splunk Forwarders.
Hi,  Is there any specific fields in the vpn logs we can exclude, which are not needed for investigation so that we can save the license cost ??
That's a difficult sentence to parse.  I hope I understand the request. Instructions for installing Splunk on Linux systems are at https://docs.splunk.com/Documentation/Splunk/9.1.1/Installation/Ins... See more...
That's a difficult sentence to parse.  I hope I understand the request. Instructions for installing Splunk on Linux systems are at https://docs.splunk.com/Documentation/Splunk/9.1.1/Installation/InstallonLinux .  You won't find a ready-made script, but the documented steps should be easy enough to automate.  Many customers use software management tools to deploy software on all machines. I don't understand what is meant by "find out the system with out Splunk."
Let's take a step back.  What is the desired output of this query?  Is it to list the file names that are in both the index and the lookup?  Something else? My latest example is *like* what you've a... See more...
Let's take a step back.  What is the desired output of this query?  Is it to list the file names that are in both the index and the lookup?  Something else? My latest example is *like* what you've already done, but is different and should have a different result.  Have you run it?  If so, what is the exact text of the error(s)? Please eliminate the ellipsis in the stats command.  The behavior of the command can change depending on the hidden arguments.
Hi @gcusello  Currently the choices in Data Entity stays as static values ex (Airbag scheduling,Material ,Cost Summary) Based on that values that I select from the Data Entity , I wanted to do comp... See more...
Hi @gcusello  Currently the choices in Data Entity stays as static values ex (Airbag scheduling,Material ,Cost Summary) Based on that values that I select from the Data Entity , I wanted to do comparison of that value  in my eval cmd to set the correct token to use in later queries so that i know that token is belonging to specific option of Data Entity. So how do i transform these Data Entity options based on the value selected in the first dropdown domain. ex., if i select MM in the 1st dropdown , i should get options pertained to MM. if i select Goods in the 1st dropdown , i should get options pertained to Goods. It can be one options or multiple on the data entity </input> <input type="dropdown" token="domainToken">         <label>Data Entity</label>         <choice value=“0-a,1-b,2-b,3-,4-,5-,6-a”>Airbag Scheduling</choice>         <choice value=“0-d,1-e,2-e,3-,4-d,5-d,6-d”>Material</choice>         <choice value=“0-e,1-f,2-f,3-e,4-,5-,6-”>Cost Summary</choice>         <choice value=“0-f,1-e,2-b,3-b,4-md,5-a">All</choice>         <change>           <eval token="domainToken1">mvindex(split($value$,","),2)</eval>           <eval token="objectToken2">mvindex(split($value$,","),1)</eval>           <eval token="objectToken1">mvindex(split($value$,","),0)</eval>           <eval token="outputToken1">mvindex(split($value$,","),3)</eval>           <eval token="outputToken2">mvindex(split($value$,","),4)</eval>           <eval token="outputToken3">mvindex(split($value$,","),5)</eval>                   </change>       </input> search query1:   <query>index=$indexToken$ source IN (“A-B-$objectToken1$", “/A-B-$stage-$objectToken2$”,”/A-B-$domainToken1$")</query> search query2: <query>index=$indexToken$ source IN (“C-$outputToken1$”-D-”, “E-$outputToken2$-F”,”G-$outputToken3$-H”)</query> search query3: <query>index=$indexToken$ source IN (“C-$outputToken1$”-D-”, “E-$outputToken2$-F”,”G-$outputToken3$-H”)</query>
Thank you so much ! it worked. I was clueless what was happening and all this time it was a trailing space character !
H @sanurd1, unfortunately this is not available yet but we are continuing to work on it. You can also check the release notes when new Splunk versions are released to check when it is available.