Activity Feed
- Got Karma for Re: Windows Events Message field. 4 weeks ago
- Got Karma for Re: Lots of old bundle files on Deployment Server - Safe to delete?. 12-10-2024 06:46 AM
- Got Karma for Re: Keyboard Shortcut to Format Search. 07-23-2024 11:39 AM
- Got Karma for Re: Index Strategy - Single index with multiple sourcetypes vs Multiple indexes with dedicated sourcetype. 01-05-2022 11:52 AM
- Got Karma for Re: Referencing Multiple hosts in Props.conf. 07-27-2021 08:34 AM
- Got Karma for Re: Need to return a field in a search even if it doesn't exist. 03-24-2021 10:28 AM
- Got Karma for Re: Rawdata may be corrupt. 02-27-2021 07:05 AM
- Karma Re: Why am I unable to index contents of a text file being monitored by universal forwarder? for lguinn2. 06-05-2020 12:48 AM
- Karma Re: What volume(s) is indexerWeightByDiskCapacity based on? for esix_splunk. 06-05-2020 12:48 AM
- Karma Re: How do I extract two different variations of a timestamp from the same sourcetype? for sowings. 06-05-2020 12:48 AM
- Karma Re: Search formatting in Splunk 6.5.0 for easier readability for lquinn. 06-05-2020 12:48 AM
- Karma Re: Is it safe to delete .bundle files ? for ddrillic. 06-05-2020 12:48 AM
- Karma Re: How to edit my regular expression to extract a string between percentages and other characters? for govindsinghrawa. 06-05-2020 12:48 AM
- Karma Re: How to convert a string value in the format HH:mm:ss to usable seconds for a graph? for sundareshr. 06-05-2020 12:48 AM
- Karma Re: Which instance is installed on a server? for gcusello. 06-05-2020 12:48 AM
- Karma Re: Creating a timeline showing when someone log out and login? for DEAD_BEEF. 06-05-2020 12:48 AM
- Karma Re: CSV Field Extraction with spaces in field name for lguinn2. 06-05-2020 12:48 AM
- Karma Re: Hi i need to do splunk up gradation. My splunk version is 6.3.1 i need to upgrade to 6.5. what procedure i need to follow. for inventsekar. 06-05-2020 12:48 AM
- Karma Re: Why is one of my blacklists on inputs.conf not working to filter events from Windows Event Logs? for gokadroid. 06-05-2020 12:48 AM
- Karma Re: How to control splunk logs splunkd_stderr.log & splunkd-utility.log filling up disk space for ddrillic. 06-05-2020 12:48 AM
Topics I've Started
Subject | Karma | Author | Latest Post |
---|---|---|---|
0 | |||
0 | |||
0 | |||
0 |
10-13-2016
12:30 PM
Like I said, these look like default index that will exist on all Splunk Enterprise installations, and will be used at minimum by Splunk itself. So, no, it is not unusual to have these indexes on indexers that are not targets of the forwarders.
Can you confirm that the indexer with the 10GB size is the 10.200.2.30:9997 system?
... View more
10-13-2016
11:56 AM
Well then, if you're collecting basic logs on that system then this search might work (it worked for me):
index=main sourcetype="wineventlog:application" | rex field=_raw "(Splunk\sEnterprise\.\sProduct\sVersion:\s)(?<Splunk_Version>\d+\.\d+\.\d+\.\d+)" |dedup Splunk_Version,_time | table Splunk_Version,_time
... View more
10-13-2016
10:36 AM
Is this a windows system?
... View more
10-13-2016
07:35 AM
Have you tried the config on the forwarder? The data may already be parsed by the time it hits the indexer.
... View more
10-13-2016
05:58 AM
Are you running the search in Verbose mode?
... View more
10-12-2016
10:33 AM
1 Karma
It is complex, but necessarily so because while you may want old data, you probably most certainly want current data.
What may not be evident in the wiki post is the indexing very old logs and logs 'in the future'.
Let's say for example you have logs that are older than the MAX_DAYS_AGO parameter from props.conf (default 2000 days) - all events older than the MAX_DAYS_AGO will have the _time value of the last acceptable timestamp in that log file, and if all events are older than MAX_DAYS_AGO, then all events will have the current (index time) timestamp for _time.
So, in addition to knowing that Freezing data is based on _time, you must also understand that it is based on the most recent time in the buckets (restart Splunkd = new buckets), and that indexing very old logs may give you event times (_time) that are not what you expected (MAX_DAYS_AGO defaults to 2000 days).
... View more
10-12-2016
07:09 AM
It's _time
See this post. It provides a very good review:
https://wiki.splunk.com/Deploy:SplunkBucketRetentionTimestampsAndYou
... View more
10-10-2016
04:50 AM
FYI, Splunk Enterprise includes all of the above as part of the installation. However, the only features enabled by default are search and index. To turn on the other features you need to configure them as desired on each server (and forwarders where applicable).
... View more
10-09-2016
08:35 AM
2 Karma
Provided your network and indexers have the bandwidth and processing power to handle the throughput, it basically all comes down to searching.
1) It takes longer to search one large index, but you don't have to specify a particular index in the search.
2) If you use separate indexes for different sourcetypes, then you have to specify them in each search, but the searches are faster.
I prefer option 2 because it allows the flexibility to search everything, or specific indexes/sourcetypes as required. However, it does add the user overhead of specifying particular indexes in some searches.
Examples:
index=mycustomindex_*
Will search all of my custom indexes.
index=mycustomindex_sourcetype1 OR index=mycustomindex_sourcetype2 OR index=mycustomindex_sourcetype10
Will search only indexes for sourcetypes 1, 2 and 10.
... View more
10-08-2016
09:40 AM
1 Karma
Yes, see this answer:
https://answers.splunk.com/answers/419132/is-it-safe-to-delete-bundle-files.html
And this post for the var\run version:
https://answers.splunk.com/answers/1397/how-long-should-bundle-tar-files-persist-in-the-search-head-can-the-space-used-be-limited.html
... View more
10-07-2016
02:12 PM
Probably 'REPORT' in props.conf and 'DELIMS' in transforms.conf.
More information would be nice.
... View more
10-07-2016
11:49 AM
embed.enabled = 0 means it is off. Set it to 1 to turn it on.
To do it with the UI see the workflow in this post:
http://blogs.splunk.com/2014/05/08/17682/
... View more
10-07-2016
10:24 AM
I tested this log file content:
date,time,rundate
02/09/2016,00:00.0,2/07/2016
02/09/2016,00:00.1,2/07/2016
02/09/2016,00:00.2,2/07/2016
02/09/2016,00:00.3,2/07/2016
02/09/2016,00:00.4,2/07/2016
02/09/2016,00:00.5,2/07/2016
02/09/2016,00:00.6,2/07/2016
02/09/2016,00:00.7,2/07/2016
With these config files:
inputs.conf
[monitor://C:\temp\Splunk\test\csv-test\csv-test3.csv]
disabled = false
index = test
sourcetype = csvtest3
props.conf
[csvtest3]
NO_BINARY_CHECK = true
category = Custom
disabled = false
pulldown_type = true
REPORT-csvtest3 = REPORT-csvtest3
transforms.conf
[REPORT-csvtest3]
DELIMS = ","
FIELDS = "Date","Time","runDate"
Everything works fine, with the exception of the fractional minutes - strptime cannot compute HH:MM.M so you will get HH:MM:SS.SSS truncated to MM as _time for each event, i.e. log time 12:00.9 will equal event time 12:00:00.000.
If seconds are important, then you should ask another question on how to convert the Time field (string value extracted above) in a search to a time value that includes accurate seconds for sorting purposes.
... View more
10-07-2016
09:26 AM
Is the time really HH:MM.M? There is no strptime variable for MM.M, so the best you're going to get is HH:MM
ex: strptime cannot compute 00:00.5 = 00:00:30, you can get 00:00.5 to represent as 00:00:05 but that is not accurate.
... View more
10-07-2016
08:07 AM
Well, it looks like it was set up at one point to do load balancing. At that time I would expect to see two IP's on the server line for the default-autolb-group, but since there is only one load balancing must have stopped sometime in the past. Or, it was never configured correctly.
Do all of the Universal Forwarders have the same outputs.conf?
On each server, look in server.conf for the [clustering] stanza, and check the value for mode =
If it is a search head, then it should point to a master_uri. If it is a search head, then the server with server.conf mode=searchhead probably has a different IP than the one in outputs.conf, and the master_uri for that one will match the IP in outputs.conf.
Keep in mind that an Enterprise Splunk installation (search head or indexer) will have indexes, and it looks like the indexes you have are all defaults, so the indexes will match between the two, but the larger one is probably the one with the IP found in outputs.conf.
... View more
10-06-2016
02:02 PM
6 Karma
See the Answer here:
https://answers.splunk.com/answers/456133/search-formatting-in-splunk-650-for-easier-readabi.html
... View more
10-06-2016
01:57 PM
You can check Splunk_Home\var\lib\splunk for folders that match your index names.
You can check your index names from the Splunk UI by going to Settings > Indexes.
You can also check your deployed outputs.conf files to see where the data is being sent.
... View more
10-06-2016
09:56 AM
I think you might have made a mistake.... I created some events, and tested this and it works.
|rex field=_raw "O_name%\d{3}[A-Za-z](?P< TheName>[^\%]+)" |table TheName
Don't forget to remove the space in the regex in the brackets before TheName
If it is not working for you then perhaps you should post some actual events.
... View more
10-05-2016
05:43 PM
I don't have the answer, but the problem with your first search is that it is looking for single events that contain both categories at the same time, which is not possible with single value fields.
Fear not, I'm sure someone will show you how to use your search and sort them out by user so that only users that did both in different events are listed.
... View more
10-05-2016
04:52 PM
Is 'THIS' always after % 3 digits and a letter, and does 'THIS' always end with a %?
... View more
10-03-2016
12:55 PM
Ha. Your question moved an outstanding requirement of mine up in the queue so to speak. Thanks for validating the results!
... View more
10-03-2016
11:29 AM
Did you upgrade all members of the cluster?
Here is the procedure for upgrading from 6.4 to 6.5 http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/UpgradeaSHC
... View more
10-03-2016
10:17 AM
I don't have a system to test this, but from the load balancing admin doc, it says "The overall traffic sent to each indexer is based this ratio:
indexer_disk_capacity/total_disk_capacity_of_indexers_combined"
If this is math being done by Splunk, then somewhere in the internal logs you should be able to find the values of these parameters, and the result.
The value of "indexer_disk_capacity" should answer your question. If you can find it.
... View more
10-02-2016
11:17 AM
I've tested Splunk Enterprise version 6.5.0-59c8927def0f-x64 on Windows 10 and it works. The URL http://localhost:8000 also works with IE11.
Which browser are you using?
... View more
09-30-2016
04:51 PM
Also, this is Splunk Answers, not a chat line. You ask a question, get an answer, accept the answer, ask a new question, etc....
Let's try to keep Splunk Answers in focus and on point. It makes it more valuable in the long run for everyone.
... View more