All Apps and Add-ons

Technology Add-on for Cisco Secure Access Control Server (ACS): Trying to get ACS logs into Splunk, the _indextime field is correct, but why not _time?

faizancool85
Path Finder

Hello Guys,

I am facing issue with the _time field. Splunk is not recognizing the time properly, but all other things are working perfectly like _indextime and all.

I am attaching the screenshot for references.

alt text

I had even included following things in props.conf file on both the paths etc\system\local & etc\apps\TA_cisco_ios\local, but after doing that, still no luck

[cisco:acs]
# TIME_PREFIX = ^
# TIME_FORMAT = %B %d %H:%M:%S
# MAX_TIMESTAMP_LOOKAHEAD = 19
# SHOULD_LINEMERGE = false
# LINE_BREAKER = ([\r\n]+)(\w{3}\s+\d+\s+\d{2}:\d{2}:\d{2}\s)
# TRUNCATE = 999999

Any solutions to sort this out?

0 Karma
1 Solution

woodcock
Esteemed Legend

If you are shooting for the first timestamp in that event, then the only problem that you have is that your settings are commented out! So change to this:

[cisco:acs]
TIME_PREFIX = ^
TIME_FORMAT = %B %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 19

View solution in original post

0 Karma

woodcock
Esteemed Legend

If you are shooting for the first timestamp in that event, then the only problem that you have is that your settings are commented out! So change to this:

[cisco:acs]
TIME_PREFIX = ^
TIME_FORMAT = %B %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 19
0 Karma

faizancool85
Path Finder

Thanks Wood !
I didt noticed that at all, lol 🙂 it was a silly mistake 🙂

0 Karma

dshpritz
SplunkTrust
SplunkTrust

Hey faizancool85,
I see at least three possible time stamps here, one at the start of the event, another one following directly behind it, and then there is one in the event (after the CSCOacs_RADIUS_Accounting). Which of these would you like to use?

Thanks,

Dave

0 Karma

faizancool85
Path Finder

Hi Dave,

Thank your for your reply!
I was trying to use _time event.
It was small mistake, i didnt notice that at all. I forget to remove the comment 😞
now its working fine.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...