All Posts

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

All Posts

I'm working on a dashboard in which the user enters a list of hosts.  The issue I'm running into is they must add an asterisk to the host name or it isn't found in the search.  This what the SPL look... See more...
I'm working on a dashboard in which the user enters a list of hosts.  The issue I'm running into is they must add an asterisk to the host name or it isn't found in the search.  This what the SPL looks like.     index=os_* (`wineventlog_security` OR sourcetype=linux_secure) host IN ( host1*, host2*, host3*, host4*, host5*, host6*, host7*, host8* ) earliest=-7d@d | dedup host | eval sourcetype=if(sourcetype = "linux_secure", sourcetype, source) | fillnull value="" | table host, index, sourcetype, _raw     If there is no * then there are no results.  What I would like to be able to do is have them enter hostname, FQDN, and either upper or lower case and the SPL would change it to lower case, remove any FQDN parts, add the *, and then search.  So far I haven't come up with SPL that works.  Any thoughts? TIA, Joe
Hi, Please share the configuration documents on panorama side for integrating this app with Splunk SOAR
That's what I thought, too. So I was surprised when I looked at the upgrade path table and did not see it mention upgrading to 6.2.1 first, and then going to 6.2.2 if you started at 6.2.0. 
But are the events indexed but the fields are not extracted or are the events not ingested at all?
You skipped the first point which says that early versions must be upgraded one by one until you reach 4.10.something. From there on you don't have to go version by version, you can skip straight to ... See more...
You skipped the first point which says that early versions must be upgraded one by one until you reach 4.10.something. From there on you don't have to go version by version, you can skip straight to 6.2.1. But you can't upgrade from other version than 6.2.1 to 6.2.2. That's how I read it.
Thats Pretty much exactly what I was looking for, Thank you.
Hello, for this question, I am referencing the documentation page: https://docs.splunk.com/Documentation/SOARonprem/6.2.2/Install/UpgradePathForUnprivilegedInstalls There are two sets of conflicting... See more...
Hello, for this question, I am referencing the documentation page: https://docs.splunk.com/Documentation/SOARonprem/6.2.2/Install/UpgradePathForUnprivilegedInstalls There are two sets of conflicting information, and I do not know how to proceed with my ON PREMISE, UNPRIVILEGED, PRIMARY + WARM STANDBY CONFIGURATION (database is on the instances, not external): At the top of the documentation, it states: Unprivileged Splunk SOAR (On-premises) running a release earlier than release 6.2.1 can be upgraded to Splunk SOAR (On-premises) release 6.2.1, and then to release 6.2.2. It says CAN BE. So.... is it optional? All deployments must upgrade to Splunk SOAR (On-premises) 6.2.1 before upgrading to higher releases in order to upgrade the PostgreSQL database. It says MUST UPGRADE. So.... is it mandatory? But then, towards the BOTTOM of the table, I'm looking at the row beginning with the entry stating that I am starting with version "6.2.0" Steps 1 & 2 are conditionals for clustered and external PostGreSQL databases. Step 3 goes directly to upgrading to 6.2.2. So..... Do I, or do I NOT, upgrade to 6.2.1 first? 
Not the most efficient way of doing what? You could improve the performance of the query by combining the first two commands. index=myindex (EventCode=4663 OR EventCode=4660) OR (EventID=2 OR Event... See more...
Not the most efficient way of doing what? You could improve the performance of the query by combining the first two commands. index=myindex (EventCode=4663 OR EventCode=4660) OR (EventID=2 OR EventID=3 OR EventID=11) OR (Processes="*del*.exe" OR Processes="*rm*.exe" OR Processes="*rmdir*.exe") process!="C:\\Windows\\System32\\svchost.exe" process!="C:\\Program Files\\Microsoft Advanced Threat Analytics\\Gateway\\Microsoft.Tri.Gateway.exe" process!="C:\\Program Files\\Common Files\\McAfee\\*" process!="C:\\Program Files\\McAfee*" process!="C:\\Windows\\System32\\enstart64.exe" process!="C:\\Windows\\System32\\wbem\\WmiPrvSE.exe" process!="C:\\Program Files\\Windows\\Audio\\EndPoint\\3668cba\\cc\\x64\\AudioManSrv.exe" | table _time, source, subject, object_file_path, SubjectUserName, process, result Legibility can be improved a little by the IN operator. index=myindex (EventCode=4663 OR EventCode=4660) OR (EventID=2 OR EventID=3 OR EventID=11) OR (Processes="*del*.exe" OR Processes="*rm*.exe" OR Processes="*rmdir*.exe") NOT process IN ("C:\\Windows\\System32\\svchost.exe" "C:\\Program Files\\Microsoft Advanced Threat Analytics\\Gateway\\Microsoft.Tri.Gateway.exe" "C:\\Program Files\\Common Files\\McAfee\\*" "C:\\Program Files\\McAfee*" "C:\\Windows\\System32\\enstart64.exe" "C:\\Windows\\System32\\wbem\\WmiPrvSE.exe" "C:\\Program Files\\Windows\\Audio\\EndPoint\\3668cba\\cc\\x64\\AudioManSrv.exe") | table _time, source, subject, object_file_path, SubjectUserName, process, result  
Howdy, Im fairly new to splunk and couldnt google the answer I wanted to Here we go.  I am trying to simplify my queries and filter down the search results better. Current example query:    ind... See more...
Howdy, Im fairly new to splunk and couldnt google the answer I wanted to Here we go.  I am trying to simplify my queries and filter down the search results better. Current example query:    index=myindex | search (EventCode=4663 OR EventCode=4660) OR (EventID=2 OR EventID=3 OR EventID=11) OR (Processes="*del*.exe" OR Processes="*rm*.exe" OR Processes="*rmdir*.exe") process!="C:\\Windows\\System32\\svchost.exe" process!="C:\\Program Files\\Microsoft Advanced Threat Analytics\\Gateway\\Microsoft.Tri.Gateway.exe" process!="C:\\Program Files\\Common Files\\McAfee\\*" process!="C:\\Program Files\\McAfee*" process!="C:\\Windows\\System32\\enstart64.exe" process!="C:\\Windows\\System32\\wbem\\WmiPrvSE.exe" process!="C:\\Program Files\\Windows\\Audio\\EndPoint\\3668cba\\cc\\x64\\AudioManSrv.exe" | table _time, source, subject, object_file_path, SubjectUserName, process, result   This is an just an example, I do this same way for multiple different fields, indexs  I know its not the most efficient way of doing it but I dont know any better ways. Usually Ill start broad and whittle down the things I know I'm not looking for.  Is there either a way to simplify this (I could possibly do regex but im not really good at that) or something else like this to make my life easier? such as combining all the results I want to filter for one field. Any and all help/criticism is appreciated.
This is the result of the snippet I posted.
I don't have a "saved search" for this query, unfortunately, as I'm not yet able to make an actual "saved search". Just trying to perform some filtering on the results of a search made within the da... See more...
I don't have a "saved search" for this query, unfortunately, as I'm not yet able to make an actual "saved search". Just trying to perform some filtering on the results of a search made within the dashboard without reloading the search. I've attempted what I think it is that you're proposing, but the "PostProcessTable"/"PostProcessSearch", which is supposed to load the job from the "BaseTable"/"BaseSearch" is not loading. Instead, it notes reads, "Waiting for input...".  I will note that I am on Splunk version 9.0.4, and the switch you pointed out "Access search results or metadata" reads as "Use search results or job status as tokens" in my version of Dashboard Studio. I'm not sure if the issue is: my version of splunk being 9.0.4 the fact that I'm not using a saved search or I'm implementing your proposal incorrectly (very very possible) See example snippet below: "visualizations": { "viz_A2Ecjpct": { "type": "splunk.table", "dataSources": { "primary": "ds_fpJiS8Hp" }, "title": "BaseTable" }, "viz_Ok7Uvz2b": { "type": "splunk.table", "title": "PostProcessTable", "dataSources": { "primary": "ds_q4BDo5Wr" } } }, "dataSources": { "ds_fpJiS8Hp": { "type": "ds.search", "options": { "query": "| makeresults count=5", "queryParameters": { "earliest": "-15m", "latest": "now" }, "enableSmartSources": true }, "name": "BaseSearch" }, "ds_q4BDo5Wr": { "type": "ds.search", "options": { "query": "| loadjob $ds_fpJiS8Hp:job.sid$", "enableSmartSources": true }, "name": "PostProcessSearch" } },  
Hi. Running 9.0.6 and a user (who is the owner)  can schedule REPORTS, but not DASHBOARDS. It's a CLASSIC dashboard (not the new fancy one Stooooodio one). Dashboards --> Find Dashboard --> Edit... See more...
Hi. Running 9.0.6 and a user (who is the owner)  can schedule REPORTS, but not DASHBOARDS. It's a CLASSIC dashboard (not the new fancy one Stooooodio one). Dashboards --> Find Dashboard --> Edit button --> NO 'Edit Schedule' Open dashboard, top right export, NO 'Schedule PDF' My local admin says 'maybe they changed something in 9.0.6), but I'm unconvinced until this legendary community agrees. "feels" like a permission missing is all.    
This is the solution that seem to be working .  Edited source code on dash.  (can change left, center, or right)   ], "options": { "tableFormat": { "align": "> table |pick(alignment)" "alignmen... See more...
This is the solution that seem to be working .  Edited source code on dash.  (can change left, center, or right)   ], "options": { "tableFormat": { "align": "> table |pick(alignment)" "alignment": [ "left" ]
Yes, you can do this.  As you chain the outputlookups, put the most broad search first. As you summarize the different items you need, you can write to additional lookup files using append, or even b... See more...
Yes, you can do this.  As you chain the outputlookups, put the most broad search first. As you summarize the different items you need, you can write to additional lookup files using append, or even bring in another file, do stats processing, and then write it back out.    <run your initial search, for the daily data> |outputlookup dailyfile.csv <add the fully daily info to the weekly file, or do whatever summation is necessary> |outputlookup append=true weeklyfile.csv <bring in existing monthly data, and summarize it. then write it back out> |append [|inputlookup monthlyfile.csv] |stats <summarize whatever> |outputlookup monthlyfile.csv    
You can have multiple outputlookup commands in the same search so you can append each week's results to the monthly lookup and then inputlookup at the end of the month to process the monthly results
Try something like this index=123 sourcetype = teams | search "Crestron Package Firmware version :" | rex field=_raw "Crestron Package Firmware version :\s+(?<CCSFirmware>\S*?)" | eval Time(utc)=str... See more...
Try something like this index=123 sourcetype = teams | search "Crestron Package Firmware version :" | rex field=_raw "Crestron Package Firmware version :\s+(?<CCSFirmware>\S*?)" | eval Time(utc)=strftime(_time, "%y-%m-%d %H:%M:%S") | table host Time(utc) CCSFirmware
That is what I ended up doing, but I want to know if there was another way like that! Looks like it is the only way...   Thank you! 
SPL is not a procedural language and does not have if...then...else... constructs Try something like this | lookup Payroll1.csv PARENTACCOUNT OUTPUT Product_Type as To_AccountID_99, AccountType as ... See more...
SPL is not a procedural language and does not have if...then...else... constructs Try something like this | lookup Payroll1.csv PARENTACCOUNT OUTPUT Product_Type as To_AccountID_99, AccountType as To_Account_99 | lookup Payroll2.csv PARENTACCOUNT, ID as PARENTID OUTPUT TYPE as To_AccountID_NOT_99, AccountType as To_Account_NOT_99 | eval To_AccountID= if(ID="99",To_AccountID_99,To_AccountID_NOT_99)
Try something like this index=db_it_network sourcetype=pan* url_domain="www.perplexity.ai" OR app=claude-base OR app=google-gemini* OR app=openai* OR app=bing-ai-base | where date_wday="monday" OR d... See more...
Try something like this index=db_it_network sourcetype=pan* url_domain="www.perplexity.ai" OR app=claude-base OR app=google-gemini* OR app=openai* OR app=bing-ai-base | where date_wday="monday" OR date_wday="tuesday" OR date_wday="wednesday" OR date_wday="thursday" OR date_wday="friday" | eval app=if(url_domain="www.perplexity.ai", url_domain, app) | table user, app, date_wday | stats count by user app date_wday | chart count by user app | join type=left user [search index=collect_identities | rename email as user | table user bunit]
Just spit balling just from my prior splunk experience.  I've scene similar issues arise when permissions are messed up from a splunk install directory perspective or if this service account is runni... See more...
Just spit balling just from my prior splunk experience.  I've scene similar issues arise when permissions are messed up from a splunk install directory perspective or if this service account is running as an incorrect user (i.e. root).  Customer has assured me neither is the case and that permissions are correct and service is running as the correct account