Proper naming conventions


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Data Proper naming conventions

Hey guys, not sure should I post it here or in 'What is on Your Mind?'

Iím discussing usage of DSL (domain specific language) in security tools with my colleagues. We haven't been able to reach an agreement over naming conventions.

There are many tools using DSL: splunk, sumologic, elasticsearch and etc. But what are the best practices?

So for example how would you name each component of the following strings:

Code:
$ sudo readlink -f /bin/ls -n

Code:
$ ps  aux

Code:
$ cat  -a  foobar.txt

I'd really appreciate if you guys could help me out.

Smilie You can answer here. Or I have a Google form, which I'd like you to fill out. But I'm not allowed to post URL's yet Smilie

Thanks.
# 2  
So you have log management system, and you wonder how will you name logs that arrive at that central system ?

Stuff you posted are commands doing what a human or script instructed them on the box monitored.

Some of them read plain files, others inspect processes or follow links.
More or less standard stuff a user or administrator would do on a system, if allowed by permissions (files/directory permissions, ability to connect to machine etc.)

I'm not sure what kind of best practice advice you require.
Can you specify to more detail perhaps ?

And welcome to the forums Smilie

Regards
Peasant.
This User Gave Thanks to Peasant For This Post:
# 3  
Quote:
Originally Posted by Peasant
And welcome to the forums Smilie
Thanks SmilieSmilieSmilie

Quote:
Originally Posted by Peasant
So you have log management system, and you wonder how will you name logs that arrive at that central system ?
Almost Smilie I'm developing a visibility tool and I'm planning to use DSL in similar way splunk and sumologic do. Although, not as complex.

So I need to know how to refer to "sudo", "ls", "echo" or etc. Mainly what is the most common way to call different parts of a string user typed.

I'm not interested in what command can do, but how do you name them.

---------- Post updated at 09:54 AM ---------- Previous update was at 09:52 AM ----------

Maybe this will help – Domain specific language questionnaire

I put everything inside Google form (doesn't collect emails or personal info).
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Typographic conventions in bash 4.2
cowLips
is there a typographic convention that is followed in the man pages. where could a description be found. at this time i am in man stty and the author uses upper case in some places. and my brain is just burning to a fizzle while studying a book on bash and trying to stay in scope of the...... UNIX for Dummies Questions & Answers
1
UNIX for Dummies Questions & Answers
c calling conventions
rupeshkp728
C calling convention we all know defines a way how the parameters are pushed onto the stack. My question is when and how does this C calling conventions matters to a user? When the user will have to bother about the calling conventions in his project?... Programming
5
Programming
CSS coding conventions checker
figaro
I would like to use an automated checker for adherence to CSS coding conventions. I have browsed the web, but no tool I came across checks for coding conventions, only syntax. Here is a general list of requirements: - Style definitions should be separated by one blank line - Indentation is 2...... UNIX for Dummies Questions & Answers
0
UNIX for Dummies Questions & Answers
A query on Disk naming conventions in Solaris.
saagar
These are findings by me with my little experience with Solaris 10. Please correct me if wrong.. In x86 systems with ide hard disk: c= controller d=disk s=slice 1.Here controller c0 means the primary ide controller ide0. controller c1 means the secondary ide controller ide1. ...... Solaris
5
Solaris
Naming conventions for shared libraries in Linux
neked
Hello, I'm wondering what is the naming conventions for *.so shared libraries in linux. For example, a library in /lib, say libcrypt-2.7.so has a symbolic link called libcrypt.so.1 pointing to it, yet libncursesw.so.5.6 has a symbolic link called libncursesw.so.5 pointing to it. What is the...... UNIX for Advanced & Expert Users
2
UNIX for Advanced & Expert Users