i guess i figured it out :
1) install eventgen app
2) go to settings->data inputs-> enable SA_Eventgen
you should see the events generated in a 2 to 4 minutes . by default it will be gernated in main , unless you specify the index explicitly for cisco_asa add on.
... View more
i had similar errors . i was able to resolve it by changing the replication port number. the issue was that , i had replication port and the receiving port as the same ( 9997) . after i dedicated port 9887 for replication under server.conf ( [replication_port://9887]) and restarted indexers and cluster master , the issue was resolved .
... View more
for a wide variety of logs please check out this site https://ossec-docs.readthedocs.io/en/latest/log_samples . you can then use eventgen app in splunk to generate runtime logs based off these samples.
... View more
you can point universal forwarder (ay host is UF1) to deployment server ( say host is DS1) in couple of ways .
option 1) using the command splunk set deploy-poll on UF1
example : ./splunk set deploy-poll DS1:8089
this will create a deploymentclient.conf under etc/system/local. within this file you can set the paramters that you mentioned earlier ( phoneHomeIntervalInSecs)
option 2) you can create an app ( or push it from the deployment server) and place it under UF1 .
deploymentclient.conf should be part of your app , example : /etc/apps//local/deploymentclient.conf
on a UF1 you can check to see which deployment server your UF is pointing to by running the below command.
./splunk show deploy-poll
... View more
Thanks i was able to break the lines with LINE_BREAKER =()\<plane\> . Agreed my title was misleading. what i was trying to convey is that my data does not have any return character at the end of each line. By using the line_breaker , i was able to break up the rather long line of data into individual events.
... View more
I have a log file that has contents similar to below. I would like the events separated based on the line break character. My props file has BREAK_ONLY_BEFORE = and SHOULD_LINEMERGE = true but I continue to get the entire contents of the file as one event. Can you help me with splitting the contents of the below file into separate events using as the line break?
... View more